[Bug 796802] New: Problem calling `ges_track_update_restriction_caps` after `ges_video_track_new`

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jul 12 17:29:49 UTC 2018


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

            Bug ID: 796802
           Summary: Problem calling `ges_track_update_restriction_caps`
                    after `ges_video_track_new`
    Classification: Platform
           Product: GStreamer
           Version: 1.12.4
                OS: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-editing-services
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: ding at panopto.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

This is related to a prior bug (740726) which apparently never got fixed for
video tracks (it was only fixed for audio tracks).

The following code will cause all kinds of errors:

    GESTrack* videoTrack = ges_video_track_new()
    GstCaps*  caps = gst_caps_new_simple("video/x-raw",
        "width", 100,
        "height", 100,
        nullptr);

    ges_track_update_restriction_caps(gesVideoTrack, caps)

The errors:

    (whatever.exe:5788): GStreamer-CRITICAL **: gst_mini_object_copy: assertion
'mini_object != NULL' failed
    (whatever.exe:5788): GStreamer-CRITICAL **: gst_caps_get_size: assertion
'GST_IS_CAPS (caps)' failed
    (whatever.exe:5788): GStreamer-CRITICAL **: gst_caps_append_structure:
assertion 'GST_IS_CAPS (caps)' failed
    ** (whatever.exe:5788): CRITICAL **: ges_track_set_restriction_caps:
assertion 'GST_IS_CAPS (caps)' failed

To fix these errors, the method `ges_track_update_restriction_caps` should
check to see whether restriction caps already exist.  If not, it should call
`ges_track_set_restriction_caps`.

-- 
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