mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
y4mdec: init videoinfo
This commit is contained in:
parent
4955bc6dca
commit
7cf43c7b93
1 changed files with 1 additions and 0 deletions
|
@ -376,6 +376,7 @@ gst_y4m_dec_parse_header (GstY4mDec * y4mdec, char *header)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gst_video_info_init (&y4mdec->info);
|
||||||
gst_video_info_set_format (&y4mdec->info, format, width, height);
|
gst_video_info_set_format (&y4mdec->info, format, width, height);
|
||||||
|
|
||||||
switch (interlaced_char) {
|
switch (interlaced_char) {
|
||||||
|
|
Loading…
Reference in a new issue