mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +00:00
small fixes to docs and debug
This commit is contained in:
parent
6a838fd5c8
commit
0bb0e3733c
2 changed files with 4 additions and 1 deletions
|
@ -33,7 +33,7 @@ main (int argc, char *argv[])
|
|||
gst_init (&argc, &argv);
|
||||
|
||||
if (argc < 2) {
|
||||
g_message ("usage: %s <filename.ogg>", argv[0]);
|
||||
g_message ("usage: %s <filename.mp4>", argv[0]);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
|
@ -274,6 +274,8 @@ collect_media_stats (GstRTSPMedia * media)
|
|||
|
||||
media->range.unit = GST_RTSP_RANGE_NPT;
|
||||
|
||||
GST_INFO ("collect media stats");
|
||||
|
||||
if (media->is_live) {
|
||||
media->range.min.type = GST_RTSP_TIME_NOW;
|
||||
media->range.min.seconds = -1;
|
||||
|
@ -1059,6 +1061,7 @@ pad_added_cb (GstElement * element, GstPad * pad, GstRTSPMedia * media)
|
|||
{
|
||||
GstRTSPStream *stream;
|
||||
|
||||
/* FIXME, element is likely not a payloader, find the payloader here */
|
||||
stream = gst_rtsp_media_create_stream (media, element, pad);
|
||||
|
||||
GST_INFO ("pad added %s:%s, stream %d", GST_DEBUG_PAD_NAME (pad),
|
||||
|
|
Loading…
Reference in a new issue