mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
y4m: update for new interlace caps
This commit is contained in:
parent
3498912d7b
commit
8506342fb6
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue