gst_tag_demux_trim_buffer: assertion failed: (out_size > 0)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

gst_tag_demux_trim_buffer: assertion failed: (out_size > 0)

W. Michael Petullo
I have written an application that scans a directory tree containing media
files (Ogg Vorbis and MP3) and reads the metadata associated with the
files. My application scans around 1000 files and then halts with the
following error:

ERROR:gsttagdemux.c:418:gst_tag_demux_trim_buffer: assertion failed:
(out_size > 0)

Running "gst-launch filesrc location=x ! decodebin -t" on the same file
works fine -- it prints out the file's metadata.

I have found this error generated by another application, brasero:

https://bugs.launchpad.net/ubuntu/+source/brasero/+bug/293776

I don't have any experience with brasero or Ubuntu, but found this issue
when I searched for my problem on the Internet.

I distilled the core of the code that causes the error and attached it to
this email. All of my application has been removed except for the
directory tree traverse and metadata read.

Could this be an issue with the GStreamer libraries?

Mike
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

test.c (7K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: gst_tag_demux_trim_buffer: assertion failed: (out_size > 0)

W. Michael Petullo
> I have written an application that scans a directory tree  
> containing media
> files (Ogg Vorbis and MP3) and reads the metadata associated with the
> files. My application scans around 1000 files and then halts with the
> following error:
>
> ERROR:gsttagdemux.c:418:gst_tag_demux_trim_buffer: assertion failed:
> (out_size > 0)

[...]

I determined that this was the result of trying to read the metadata  
from a WMA file.

See http://bugzilla.gnome.org/show_bug.cgi?id=571009.

This should cause an error, not a failed assertion.

Mike

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel