From 0de0f3b2c4d7c42cf2cfef46bd1e34e67a09d8b3 Mon Sep 17 00:00:00 2001 From: Zeeshan Ali Date: Mon, 23 Apr 2018 12:23:41 +0200 Subject: [PATCH] tests: videodecoder: Fix a minor c&p mistake https://bugzilla.gnome.org/show_bug.cgi?id=795483 --- tests/check/libs/videodecoder.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/check/libs/videodecoder.c b/tests/check/libs/videodecoder.c index 967bcd782a..ad7da2f236 100644 --- a/tests/check/libs/videodecoder.c +++ b/tests/check/libs/videodecoder.c @@ -182,7 +182,7 @@ static void gst_video_decoder_tester_class_init (GstVideoDecoderTesterClass * klass) { GstElementClass *element_class = GST_ELEMENT_CLASS (klass); - GstVideoDecoderClass *audiosink_class = GST_VIDEO_DECODER_CLASS (klass); + GstVideoDecoderClass *videosink_class = GST_VIDEO_DECODER_CLASS (klass); static GstStaticPadTemplate sink_templ = GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, GST_PAD_ALWAYS, @@ -198,11 +198,11 @@ gst_video_decoder_tester_class_init (GstVideoDecoderTesterClass * klass) gst_element_class_set_metadata (element_class, "VideoDecoderTester", "Decoder/Video", "yep", "me"); - audiosink_class->start = gst_video_decoder_tester_start; - audiosink_class->stop = gst_video_decoder_tester_stop; - audiosink_class->flush = gst_video_decoder_tester_flush; - audiosink_class->handle_frame = gst_video_decoder_tester_handle_frame; - audiosink_class->set_format = gst_video_decoder_tester_set_format; + videosink_class->start = gst_video_decoder_tester_start; + videosink_class->stop = gst_video_decoder_tester_stop; + videosink_class->flush = gst_video_decoder_tester_flush; + videosink_class->handle_frame = gst_video_decoder_tester_handle_frame; + videosink_class->set_format = gst_video_decoder_tester_set_format; } static void