pbutils: Remove sample entry code "raw"

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1045>
This commit is contained in:
Ludvig Rappe 2021-09-15 16:49:16 +02:00 committed by GStreamer Marge Bot
parent 5aa825d004
commit b099ba649e
2 changed files with 0 additions and 9 deletions

View file

@ -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:

View file

@ -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;