[Bug 702842] New: shmsrc: operate in time mode if source is live

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jun 21 18:02:53 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=702842
  GStreamer | gst-plugins-bad | git

           Summary: shmsrc: operate in time mode if source is live
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: aleix at oblong.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


shmsrc uses the default format for GstBaseSrc, which is GST_FORMAT_BYTES. When
shmsrc is set to live mode format should be changed to GST_FORMAT_TIME.

Otherwise we get errors (e.g. in rtph264payload):

(lt-test-launch:10562): GStreamer-CRITICAL **: gst_segment_to_running_time:
assertion `segment->format == format' failed

#0  g_logv (log_domain=0x7ffff795f808 "GStreamer", log_level=<optimized out>,
format=0x7ffff73f1d3a "%s: assertion `%s' failed", args1=0x7fffe27fa7d8) at
gmessages.c:765
#1  0x00007ffff738b1a2 in g_log (log_domain=<optimized out>,
log_level=<optimized out>, format=<optimized out>) at gmessages.c:792
#2  0x00007ffff792d6ea in gst_segment_to_running_time (segment=<optimized out>,
format=<optimized out>, position=<optimized out>) at gstsegment.c:486
#3  0x00007ffff27ee44c in gst_rtp_base_payload_prepare_push (payload=0x7c0000,
obj=0x7fffc8002800, is_list=1) at gstrtpbasepayload.c:845
#4  0x00007ffff27f07d6 in gst_rtp_base_payload_push_list (payload=0x7c0000,
list=0x7fffc8002800) at gstrtpbasepayload.c:920
#5  0x00007ffff2a1f006 in gst_rtp_h264_pay_payload_nal (basepayload=0x7c0000,
paybuf=0x7fffc8004500, dts=11681833, pts=11681833, end_of_au=0) at
gstrtph264pay.c:954
#6  0x00007ffff2a1f8c4 in gst_rtp_h264_pay_handle_buffer (basepayload=0x7c0000,
buffer=0x7fffc8943e80) at gstrtph264pay.c:1129
#7  0x00007ffff790d971 in gst_pad_chain_data_unchecked (data=0x7fffc8943e80,
type=<optimized out>, pad=0x789b30) at gstpad.c:3708

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