summaryrefslogtreecommitdiff
path: root/video.c
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2011-12-23 20:31:52 +0100
committerJohns <johns98@gmx.net>2011-12-23 20:31:52 +0100
commitd574fbe8b3d4c4eec9675bd718af8a5c0e7b8986 (patch)
tree3070d68a5bc21150508c5bb7ba504d0f17e7534c /video.c
parent34c72d08b3304236d16b554fc1f3180267df42a6 (diff)
downloadvdr-plugin-softhddevice-d574fbe8b3d4c4eec9675bd718af8a5c0e7b8986.tar.gz
vdr-plugin-softhddevice-d574fbe8b3d4c4eec9675bd718af8a5c0e7b8986.tar.bz2
Remove interlaced_frame debug, it can't be used.
Diffstat (limited to 'video.c')
-rw-r--r--video.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/video.c b/video.c
index d75c1d8..33b0b8a 100644
--- a/video.c
+++ b/video.c
@@ -5677,13 +5677,12 @@ enum PixelFormat Video_get_format(VideoHwDecoder * decoder,
/// @param interlaced interlaced flag (frame isn't right)
/// @param frame frame to display
///
+/// @note frame->interlaced_frame can't be used for interlace detection
+///
static void VideoSetPts(int64_t * pts_p, int interlaced, const AVFrame * frame)
{
int64_t pts;
- if (interlaced != frame->interlaced_frame) {
- Debug(3, "video: can't use frame->interlaced_frame\n");
- }
// update video clock
if ((uint64_t) * pts_p != AV_NOPTS_VALUE) {
*pts_p += interlaced ? 40 * 90 : 20 * 90;