mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
dashdemux: Implement a default presentation delay
Have a fallback presentation delay is great (if not present in the manifest), having an actual default value is better. https://bugzilla.gnome.org/show_bug.cgi?id=783244
This commit is contained in:
parent
5a693fdd9d
commit
2b401de91c
1 changed files with 2 additions and 2 deletions
|
@ -338,7 +338,7 @@ enum
|
|||
#define DEFAULT_MAX_VIDEO_HEIGHT 0
|
||||
#define DEFAULT_MAX_VIDEO_FRAMERATE_N 0
|
||||
#define DEFAULT_MAX_VIDEO_FRAMERATE_D 1
|
||||
#define DEFAULT_PRESENTATION_DELAY NULL /* zero */
|
||||
#define DEFAULT_PRESENTATION_DELAY "10s" /* 10s */
|
||||
|
||||
/* Clock drift compensation for live streams */
|
||||
#define SLOW_CLOCK_UPDATE_INTERVAL (1000000 * 30 * 60) /* 30 minutes */
|
||||
|
@ -663,7 +663,7 @@ gst_dash_demux_init (GstDashDemux * demux)
|
|||
demux->max_video_height = DEFAULT_MAX_VIDEO_HEIGHT;
|
||||
demux->max_video_framerate_n = DEFAULT_MAX_VIDEO_FRAMERATE_N;
|
||||
demux->max_video_framerate_d = DEFAULT_MAX_VIDEO_FRAMERATE_D;
|
||||
demux->default_presentation_delay = DEFAULT_PRESENTATION_DELAY;
|
||||
demux->default_presentation_delay = g_strdup (DEFAULT_PRESENTATION_DELAY);
|
||||
|
||||
g_mutex_init (&demux->client_lock);
|
||||
|
||||
|
|
Loading…
Reference in a new issue