mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-23 14:36:24 +00:00
set slider range before setting duration
This commit is contained in:
parent
c4219a9304
commit
853c31e75e
1 changed files with 4 additions and 4 deletions
|
@ -364,13 +364,13 @@ layer_object_removed_cb (GESTimelineLayer * layer, GESTimelineObject * object,
|
||||||
void
|
void
|
||||||
connect_to_filesource (GESTimelineObject * object, App * app)
|
connect_to_filesource (GESTimelineObject * object, App * app)
|
||||||
{
|
{
|
||||||
g_signal_connect (G_OBJECT (object), "notify::duration",
|
|
||||||
G_CALLBACK (filesource_notify_duration_cb), app);
|
|
||||||
filesource_notify_duration_cb (object, NULL, app);
|
|
||||||
|
|
||||||
g_signal_connect (G_OBJECT (object), "notify::max-duration",
|
g_signal_connect (G_OBJECT (object), "notify::max-duration",
|
||||||
G_CALLBACK (filesource_notify_max_duration_cb), app);
|
G_CALLBACK (filesource_notify_max_duration_cb), app);
|
||||||
filesource_notify_max_duration_cb (object, NULL, app);
|
filesource_notify_max_duration_cb (object, NULL, app);
|
||||||
|
|
||||||
|
g_signal_connect (G_OBJECT (object), "notify::duration",
|
||||||
|
G_CALLBACK (filesource_notify_duration_cb), app);
|
||||||
|
filesource_notify_duration_cb (object, NULL, app);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in a new issue