mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 21:21:12 +00:00
pbutils: Remove sample entry code "raw"
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1045>
This commit is contained in:
parent
5aa825d004
commit
b099ba649e
2 changed files with 0 additions and 9 deletions
|
@ -2429,8 +2429,6 @@ gst_codec_utils_caps_get_mime_codec (GstCaps * caps)
|
||||||
if (g_strcmp0 (gst_structure_get_string (caps_st, "layout"), "g726") == 0) {
|
if (g_strcmp0 (gst_structure_get_string (caps_st, "layout"), "g726") == 0) {
|
||||||
mime_codec = g_strdup ("g726");
|
mime_codec = g_strdup ("g726");
|
||||||
}
|
}
|
||||||
} else if (g_strcmp0 (media_type, "audio/x-raw") == 0) {
|
|
||||||
mime_codec = g_strdup ("raw");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
done:
|
done:
|
||||||
|
|
|
@ -1457,13 +1457,6 @@ GST_START_TEST (test_pb_utils_caps_get_mime_codec)
|
||||||
fail_unless_equals_string (mime_codec, "g726");
|
fail_unless_equals_string (mime_codec, "g726");
|
||||||
g_free (mime_codec);
|
g_free (mime_codec);
|
||||||
gst_caps_unref (caps);
|
gst_caps_unref (caps);
|
||||||
|
|
||||||
/* raw */
|
|
||||||
caps = gst_caps_new_empty_simple ("audio/x-raw");
|
|
||||||
mime_codec = gst_codec_utils_caps_get_mime_codec (caps);
|
|
||||||
fail_unless_equals_string (mime_codec, "raw");
|
|
||||||
g_free (mime_codec);
|
|
||||||
gst_caps_unref (caps);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
Loading…
Reference in a new issue