[Bug 752521] New: validate: error when seek_forward with mp3 file

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Jul 17 01:15:01 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=752521

            Bug ID: 752521
           Summary: validate: error when seek_forward with mp3 file
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-devtools
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: vineeth.tm at samsung.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

In case of mp3 files which don't have duration in header.
So base parse starts the estimation of the duration after 1.5 second.

When i run the following validate scenario
GST_VALIDATE_SCENARIO=seek_forward gst-validate-1.0 playbin
uri=file:///home/user/gst/master/test/1.mp3

it fails like this
Starting pipeline
Pipeline started
Trace/breakpoint trap (core dumped)


This is happening because,
GST_MESSAGE_ASYNC_DONE is being posted by playsink, before the duration is
estimated(1.5 second)..
and _set_action_playback_time is getting called in gst-validate-scenario.c
which fails because duration is not available and it crashes with g_error...


do we need to call _set_action_playback_time for GST_MESSAGE_ASYNC_DONE??
and if needed, does it really need to crash, or we can just print error, and
return FALSE, thus letting the tests to continue.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list