mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-18 12:15:19 +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))
|
if (!gst_structure_get_int (structure, "width", &width))
|
||||||
width = 0;
|
width = 0;
|
||||||
if (!gst_structure_get_int (structure, "height", &height))
|
if (!gst_structure_get_int (structure, "height", &height))
|
||||||
width = 0;
|
height = 0;
|
||||||
if (!gst_structure_get_fraction (structure, "framerate", &(pos->fps_n),
|
if (!gst_structure_get_fraction (structure, "framerate", &(pos->fps_n),
|
||||||
&(pos->fps_d)))
|
&(pos->fps_d)))
|
||||||
pos->fps_n = -1;
|
pos->fps_n = -1;
|
||||||
|
|
Loading…
Reference in a new issue