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 688382 - rtspsrc doesn't work with the interleaved protocols
rtspsrc doesn't work with the interleaved protocols
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
1.0.2
Other Linux
: Normal normal
: 1.0.3
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 690632 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-11-15 12:04 UTC by Patricia Muscalu
Modified: 2013-02-06 12:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
GDB backtrace file (6.80 KB, application/octet-stream)
2012-11-16 14:11 UTC, Patricia Muscalu
Details

Description Patricia Muscalu 2012-11-15 12:04:47 UTC
Run the following pipeline:

gst-launch-1.0 -v rtspsrc location="rtspt://192.168.0.90:554" ! rtph264depay ! appsink

Running this pipeline results in the critical message:

GStreamer-CRITICAL **: gst_segment_to_running_time: assertion `segment->format == format' failed
Comment 1 Patricia Muscalu 2012-11-16 14:11:23 UTC
Created attachment 229133 [details]
GDB backtrace file
Comment 2 Patricia Muscalu 2012-11-16 14:13:47 UTC
I've tried to remove the verification of the segment format in
gst_segment_to_running_time function (there is no format check in the
corresponding function in gstreamer 0.10).
It mostly hangs (see the attached gdb_trace file).
Comment 3 Wim Taymans 2012-11-16 14:36:14 UTC
commit 11cf4d4fd307671d679b263d7d5cefecb4284fa8
Author: Wim Taymans <wim.taymans@collabora.co.uk>
Date:   Fri Nov 16 13:31:04 2012 +0100

    rtspsrc: create and add pads outside of lock
    
    Create and add the ghostpad for the new stream outside of the lock because it
    is not needed and causes deadlocks.
Comment 4 Wim Taymans 2012-11-16 14:41:37 UTC
commit c28bfa89020f5642b3cf742806f04ca35f230814
Author: Wim Taymans <wim.taymans@collabora.co.uk>
Date:   Fri Nov 16 15:38:29 2012 +0100

    rtspsrc: handle segment event
    
    Make a segment event when we send a new range header to a client (first PLAY
    request or after a seek). Send the segment event in interleaved mode.
    Clean the segment event on cleanup
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=688382
Comment 5 Wim Taymans 2013-02-06 12:28:07 UTC
*** Bug 690632 has been marked as a duplicate of this bug. ***