After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 724107 - AAC end playing error ==> assert
AAC end playing error ==> assert
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
1.2.3
Other Linux
: Normal minor
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-02-11 10:02 UTC by Heero Yui
Modified: 2016-02-22 07:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
base parse patch (916 bytes, patch)
2014-02-11 10:02 UTC, Heero Yui
none Details | Review

Description Heero Yui 2014-02-11 10:02:45 UTC
Created attachment 268774 [details] [review]
base parse patch

we get the error :
gst_base_parse_finish_frame: assertion `size > 0 || frame->out_buffer' failed

But when inspect the function: gst_base_parse_finish_frame the check of the NULL buffer is done inside the function then I do not understand the use of this assert.
The flow work correctly with the attached patch.

Note that the case of empty size appear sometimes.

Tested on 1.2.3 but not on 1.2.4 (same code)
Comment 1 Sebastian Dröge (slomo) 2014-02-11 20:09:24 UTC
Can you provide a sample file or testcase for this problem? Why is a zero sized frame finished here?
Comment 2 Heero Yui 2014-02-13 12:50:05 UTC
command line that generate the bug (sometime, because critical are displayed asyncronous)
gst-launch-1.0 filesrc location=osaka.ts ! tsdemux ! queue ! aacparse ! avdec_aac ! audioresample ! audioconvert ! fakesink

result:
Setting pipeline to PLAYING ...
New clock: GstSystemClock

** (gst-launch-1.0:11830): CRITICAL **: gst_base_parse_finish_frame: assertion 'size > 0 || frame->out_buffer' failed

** (gst-launch-1.0:11830): CRITICAL **: gst_base_parse_finish_frame: assertion 'size > 0 || frame->out_buffer' failed
ERROR: from element /GstPipeline:pipeline0/GstQueue:queue0: Internal data flow error.
Additional debug info:
gstqueue.c(1277): gst_queue_loop (): /GstPipeline:pipeline0/GstQueue:queue0:
streaming task paused, reason error (-5)
Execution ended after 0:00:00.009951512
Setting pipeline to PAUSED ...
Comment 3 Tim-Philipp Müller 2014-02-13 13:53:11 UTC
Could you also make the file available please?
Comment 4 Heero Yui 2014-02-13 14:00:50 UTC
send directly to Sebastian Dröge, because it is a decrypted TV stream ( we can not published it on the Web)
Comment 5 Tim-Philipp Müller 2016-02-21 22:33:41 UTC
Sebastian, do you still have this file?
Comment 6 Heero Yui 2016-02-22 07:40:18 UTC
Sory, I do not have it anymore ... I leave the enterprise where I am developping on it...
Comment 7 Sebastian Dröge (slomo) 2016-02-22 07:48:20 UTC
Me neither, I still have the WeTransfer link but the file is unavailable there.