mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-25 15:36:42 +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 rate;
|
||||||
gint channels;
|
gint channels;
|
||||||
const GValue *codec_data;
|
const GValue *codec_data;
|
||||||
const GstBuffer *buf;
|
|
||||||
|
|
||||||
caps = gst_pad_get_current_caps (h->sinkpad);
|
caps = gst_pad_get_current_caps (h->sinkpad);
|
||||||
s = gst_caps_get_structure (caps, 0);
|
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");
|
codec_data = gst_structure_get_value (s, "codec_data");
|
||||||
fail_unless (codec_data != NULL);
|
fail_unless (codec_data != NULL);
|
||||||
fail_unless (G_VALUE_HOLDS (codec_data, GST_TYPE_BUFFER));
|
fail_unless (G_VALUE_HOLDS (codec_data, GST_TYPE_BUFFER));
|
||||||
buf = gst_value_get_buffer (codec_data);
|
|
||||||
|
|
||||||
gst_caps_unref (caps);
|
gst_caps_unref (caps);
|
||||||
}
|
}
|
||||||
|
@ -501,7 +499,6 @@ GST_START_TEST (test_h264)
|
||||||
const GstStructure *s;
|
const GstStructure *s;
|
||||||
const gchar *stream_format;
|
const gchar *stream_format;
|
||||||
const GValue *codec_data;
|
const GValue *codec_data;
|
||||||
const GstBuffer *buf;
|
|
||||||
|
|
||||||
caps = gst_pad_get_current_caps (h->sinkpad);
|
caps = gst_pad_get_current_caps (h->sinkpad);
|
||||||
s = gst_caps_get_structure (caps, 0);
|
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");
|
codec_data = gst_structure_get_value (s, "codec_data");
|
||||||
fail_unless (codec_data != NULL);
|
fail_unless (codec_data != NULL);
|
||||||
fail_unless (G_VALUE_HOLDS (codec_data, GST_TYPE_BUFFER));
|
fail_unless (G_VALUE_HOLDS (codec_data, GST_TYPE_BUFFER));
|
||||||
buf = gst_value_get_buffer (codec_data);
|
|
||||||
|
|
||||||
gst_caps_unref (caps);
|
gst_caps_unref (caps);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue