[Bug 649297] New: regression: ffdemux_ape fails with gst_ffmpegdata_open: assertion `GST_PAD_IS_SRC (pad)' failed

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue May 3 09:44:23 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=649297
  GStreamer | gst-ffmpeg | git

           Summary: regression: ffdemux_ape fails with
                    gst_ffmpegdata_open: assertion `GST_PAD_IS_SRC (pad)'
                    failed
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: NEW
          Severity: blocker
          Priority: Normal
         Component: gst-ffmpeg
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: t.i.m at zen.co.uk
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=187129)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=187129)
ape file to reproduce the issue (just a few samples)

This looks like a bug in libav, maybe already fixed upstream?

Note this in libavformat/avio.h:

#define URL_RDONLY 0  /**< read-only */
#define URL_WRONLY 1  /**< write-only */
#define URL_RDWR   2  /**< read-write */


#if LIBAVFORMAT_VERSION_MAJOR < 53
#define AVIO_RDONLY 0  /**< read-only */
#define AVIO_WRONLY 1  /**< write-only */
#define AVIO_RDWR   2  /**< read-write */
#else
#define AVIO_RDONLY 1  /**< read-only */
#define AVIO_WRONLY 2  /**< write-only */
#define AVIO_RDWR   4  /**< read-write */
#endif

and then in libavformat/aviobuf.c the AVIO_* flags are silently passed to
ffurl_open() which I presume expects URL_* flags, which used to be identical
but apparently aren't any more.

int avio_open(AVIOContext **s, const char *filename, int flags)
{
    ...
    err = ffurl_open(&h, filename, flags);
    ...
}

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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