VIDEO_CLEAR_BUFFER isn't required.
authorFelix Domke <tmbinc@elitedvb.net>
Fri, 25 May 2007 16:29:19 +0000 (16:29 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Fri, 25 May 2007 16:29:19 +0000 (16:29 +0000)
lib/dvb/decoder.cpp

index c68f713..b9c9533 100644 (file)
@@ -860,8 +860,6 @@ RESULT eTSMPEGDecoder::showSinglePic(const char *filename)
                                        eDebug("VIDEO_SELECT_SOURCE MEMORY failed (%m)");
                                if (ioctl(vfd, VIDEO_PLAY) < 0)
                                        eDebug("VIDEO_PLAY failed (%m)");
                                        eDebug("VIDEO_SELECT_SOURCE MEMORY failed (%m)");
                                if (ioctl(vfd, VIDEO_PLAY) < 0)
                                        eDebug("VIDEO_PLAY failed (%m)");
-//                             if (ioctl(vfd, VIDEO_CLEAR_BUFFER) < 0)
-//                                     eDebug("VIDEO_CLEAR_BUFFER failed (%m)");
                                if (::ioctl(vfd, VIDEO_CONTINUE) < 0)
                                        eDebug("video: VIDEO_CONTINUE: %m");
                                int cnt=0;
                                if (::ioctl(vfd, VIDEO_CONTINUE) < 0)
                                        eDebug("video: VIDEO_CONTINUE: %m");
                                int cnt=0;