diff options
author | Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com> | 2016-05-20 19:33:39 +0200 |
---|---|---|
committer | Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com> | 2016-05-20 19:33:39 +0200 |
commit | d69917ecca8a8600246c9bcdd6652897f386fb1a (patch) | |
tree | 578011f82988ef41b934c94bda3041dfe968414d /tests | |
parent | 35f6ce964d23bddd18e510135643042213f34b95 (diff) | |
download | gstreamer-vaapi-d69917ecca8a8600246c9bcdd6652897f386fb1a.tar.gz |
remove spurious gst_video_info_init()
gst_video_info_set_format() and gst_video_info_from_caps() call, internally,
gst_video_info_init(), hence it is not required to call it before them. This
patch removes these spurious calls.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/simple-encoder.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/simple-encoder.c b/tests/simple-encoder.c index b827604f..58b0e8c2 100644 --- a/tests/simple-encoder.c +++ b/tests/simple-encoder.c @@ -157,7 +157,6 @@ new_codec_state (gint width, gint height, gint fps_n, gint fps_d) state = g_slice_new0 (GstVideoCodecState); state->ref_count = 1; - gst_video_info_init (&state->info); gst_video_info_set_format (&state->info, GST_VIDEO_FORMAT_ENCODED, width, height); |