+2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
+
+ * gst/playback/gststreaminfo.c: (cb_probe):
+ Try GST_TAG_CODEC as fallback when extracting the
+ codec name; more debug info.
+
2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
* ext/ogg/Makefile.am:
if (gst_tag_list_get_string (list, GST_TAG_VIDEO_CODEC, &codec)) {
g_free (info->codec);
info->codec = codec;
+ GST_LOG_OBJECT (pad, "codec = %s (video)", codec);
g_object_notify (G_OBJECT (info), "codec");
} else if (gst_tag_list_get_string (list, GST_TAG_AUDIO_CODEC, &codec)) {
g_free (info->codec);
info->codec = codec;
+ GST_LOG_OBJECT (pad, "codec = %s (audio)", codec);
+ g_object_notify (G_OBJECT (info), "codec");
+ } else if (gst_tag_list_get_string (list, GST_TAG_CODEC, &codec)) {
+ g_free (info->codec);
+ info->codec = codec;
+ GST_LOG_OBJECT (pad, "codec = %s (generic)", codec);
g_object_notify (G_OBJECT (info), "codec");
}
if (gst_tag_list_get_string (list, GST_TAG_LANGUAGE_CODE, &lang)) {
g_free (info->langcode);
info->langcode = lang;
+ GST_LOG_OBJECT (pad, "language-code = %s", lang);
g_object_notify (G_OBJECT (info), "language-code");
}
}