projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3498912
)
y4m: update for new interlace caps
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Mon, 19 Dec 2011 17:44:33 +0000
(18:44 +0100)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Mon, 19 Dec 2011 17:44:33 +0000
(18:44 +0100)
gst/y4m/gsty4mdec.c
patch
|
blob
|
history
diff --git
a/gst/y4m/gsty4mdec.c
b/gst/y4m/gsty4mdec.c
index ba7874b38ecf8d69597df5ebdb0120652c7d02cf..277bb1ffee978e0d1ccb3982b5f7308a1ab8d803 100644
(file)
--- a/
gst/y4m/gsty4mdec.c
+++ b/
gst/y4m/gsty4mdec.c
@@
-382,10
+382,12
@@
gst_y4m_dec_parse_header (GstY4mDec * y4mdec, char *header)
case 0:
case '?':
case 'p':
+ y4mdec->info.interlace_mode = GST_VIDEO_INTERLACE_MODE_PROGRESSIVE;
y4mdec->info.flags &= ~GST_VIDEO_FLAG_INTERLACED;
break;
case 't':
case 'b':
+ y4mdec->info.interlace_mode = GST_VIDEO_INTERLACE_MODE_INTERLEAVED;
y4mdec->info.flags |= GST_VIDEO_FLAG_INTERLACED;
if (interlaced_char == 't')
y4mdec->info.flags |= GST_VIDEO_FLAG_TFF;