framepositioner: Set the proper default value

Most likely a copy/paste error.

CID #1139646
This commit is contained in:
Edward Hervey 2014-04-10 18:03:55 +02:00
parent 73713c157d
commit d582da74d3

View file

@ -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;