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
@ -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) {
|
||||
mime_codec = g_strdup ("g726");
|
||||
}
|
||||
} else if (g_strcmp0 (media_type, "audio/x-raw") == 0) {
|
||||
mime_codec = g_strdup ("raw");
|
||||
}
|
||||
|
||||
done:
|
||||
|
@ -1457,13 +1457,6 @@ GST_START_TEST (test_pb_utils_caps_get_mime_codec)
|
||||
fail_unless_equals_string (mime_codec, "g726");
|
||||
g_free (mime_codec);
|
||||
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user