mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
tests: Remove unused variables
This commit is contained in:
parent
239cf06d81
commit
f0a27084f9
1 changed files with 0 additions and 4 deletions
|
@ -414,7 +414,6 @@ GST_START_TEST (test_aac)
|
|||
gint rate;
|
||||
gint channels;
|
||||
const GValue *codec_data;
|
||||
const GstBuffer *buf;
|
||||
|
||||
caps = gst_pad_get_current_caps (h->sinkpad);
|
||||
s = gst_caps_get_structure (caps, 0);
|
||||
|
@ -439,7 +438,6 @@ GST_START_TEST (test_aac)
|
|||
codec_data = gst_structure_get_value (s, "codec_data");
|
||||
fail_unless (codec_data != NULL);
|
||||
fail_unless (G_VALUE_HOLDS (codec_data, GST_TYPE_BUFFER));
|
||||
buf = gst_value_get_buffer (codec_data);
|
||||
|
||||
gst_caps_unref (caps);
|
||||
}
|
||||
|
@ -501,7 +499,6 @@ GST_START_TEST (test_h264)
|
|||
const GstStructure *s;
|
||||
const gchar *stream_format;
|
||||
const GValue *codec_data;
|
||||
const GstBuffer *buf;
|
||||
|
||||
caps = gst_pad_get_current_caps (h->sinkpad);
|
||||
s = gst_caps_get_structure (caps, 0);
|
||||
|
@ -514,7 +511,6 @@ GST_START_TEST (test_h264)
|
|||
codec_data = gst_structure_get_value (s, "codec_data");
|
||||
fail_unless (codec_data != NULL);
|
||||
fail_unless (G_VALUE_HOLDS (codec_data, GST_TYPE_BUFFER));
|
||||
buf = gst_value_get_buffer (codec_data);
|
||||
|
||||
gst_caps_unref (caps);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue