-__mmplayer_stream_notify_cb(GstStreamCollection *collection,
- GstStream *stream, GParamSpec *pspec, gpointer data)
-{
- LOGD ("Got stream-notify from stream %s for %s (collection %p)\n",
- gst_stream_get_stream_id(stream), pspec->name, collection);
- if (g_str_equal(pspec->name, "caps")) {
- GstCaps *caps = gst_stream_get_caps(stream);
- MMPLAYER_LOG_GST_CAPS_TYPE(caps);
- gst_caps_unref(caps);
- }
-
-#ifdef __DEBUG__
- if (g_str_equal (pspec->name, "tags")) {
- GstTagList *tags = gst_stream_get_tags(stream);
- if (tags) {
- LOGD (" tags:\n");
- gst_tag_list_foreach(tags, __mmplayer_print_tag_foreach, GUINT_TO_POINTER(MMPLAYER_TAG_INDENT));
- gst_tag_list_unref(tags);
- }
- }
-#endif
-}
-
-static void