mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
framepositioner: Set the proper default value
Most likely a copy/paste error. CID #1139646
This commit is contained in:
parent
73713c157d
commit
d582da74d3
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ sync_properties_from_caps (GstFramePositionner * pos, GstCaps * caps)
|
|||
if (!gst_structure_get_int (structure, "width", &width))
|
||||
width = 0;
|
||||
if (!gst_structure_get_int (structure, "height", &height))
|
||||
width = 0;
|
||||
height = 0;
|
||||
if (!gst_structure_get_fraction (structure, "framerate", &(pos->fps_n),
|
||||
&(pos->fps_d)))
|
||||
pos->fps_n = -1;
|
||||
|
|
Loading…
Reference in a new issue