switch (sourceinfo.containertype)
{
case ctMPEGTS:
- demux_type = "flutsdemux";
+ demux_type = "mpegtsdemux";
break;
case ctMPEGPS:
case ctVCD:
- demux_type = "flupsdemux";
+ demux_type = "mpegpsdemux";
break;
case ctMKV:
demux_type = "matroskademux";
case sGenre:
case sVideoType:
case sTimeCreate:
+ case sUser+10:
case sUser+12:
return resIsString;
case sCurrentTitle:
case sGenre:
tag = GST_TAG_GENRE;
break;
+ case sUser+10:
+ tag = GST_TAG_AUDIO_CODEC;
+ break;
case sVideoType:
tag = GST_TAG_VIDEO_CODEC;
break;
source = GST_MESSAGE_SRC(msg);
sourceName = gst_object_get_name(source);
-#if 0
+#if 1
if (gst_message_get_structure(msg))
{
gchar *string = gst_structure_to_string(gst_message_get_structure(msg));
eWarning("Gstreamer error: %s (%i) from %s", err->message, err->code, sourceName );
if ( err->domain == GST_STREAM_ERROR )
{
- if ( err->code == GST_STREAM_ERROR_CODEC_NOT_FOUND && g_strrstr(sourceName, "videosink") )
- m_event((iPlayableService*)this, evUser+11);
+ if ( err->code == GST_STREAM_ERROR_CODEC_NOT_FOUND )
+ {
+ if ( g_strrstr(sourceName, "videosink") )
+ m_event((iPlayableService*)this, evUser+11);
+ else if ( g_strrstr(sourceName, "audiosink") )
+ m_event((iPlayableService*)this, evUser+10);
+ }
else if ( err->code == GST_STREAM_ERROR_FAILED && g_strrstr(sourceName, "file-source") )
{
eWarning("error in tag parsing, linking mp3parse directly to file-sink, bypassing id3demux...");