summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>2016-05-20 19:33:39 +0200
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>2016-05-20 19:33:39 +0200
commitd69917ecca8a8600246c9bcdd6652897f386fb1a (patch)
tree578011f82988ef41b934c94bda3041dfe968414d /tests
parent35f6ce964d23bddd18e510135643042213f34b95 (diff)
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.c1
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);