mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 15:48:23 +00:00
ffenc: fix compilation
This commit is contained in:
parent
1fffbe9876
commit
7cbfd34e13
1 changed files with 1 additions and 1 deletions
|
@ -346,7 +346,7 @@ gst_ffmpegenc_get_possible_sizes (GstFFMpegEnc * ffmpegenc, GstPad * pad,
|
|||
width = gst_structure_get_value (s, "width");
|
||||
framerate = gst_structure_get_value (s, "framerate");
|
||||
|
||||
tmps = gst_structure_new ("video/x-raw", NULL);
|
||||
tmps = gst_structure_empty_new ("video/x-raw");
|
||||
if (width)
|
||||
gst_structure_set_value (tmps, "width", width);
|
||||
if (height)
|
||||
|
|
Loading…
Reference in a new issue