mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-06 07:28:53 +00:00
timelinefilesource: Remove deprectated methods
Removed API: ges_timeline_filesource_get_supported_formats
This commit is contained in:
parent
45c7f609da
commit
c1110f2c85
3 changed files with 6 additions and 40 deletions
|
@ -871,10 +871,10 @@ make_source (GESFormatter * self, GList * reflist, GHashTable * source_table)
|
||||||
/* If we only have audio or only video in the previous source,
|
/* If we only have audio or only video in the previous source,
|
||||||
* set it has such */
|
* set it has such */
|
||||||
if (a_avail) {
|
if (a_avail) {
|
||||||
ges_timeline_filesource_set_supported_formats (src,
|
ges_timeline_object_set_supported_formats (GES_TIMELINE_OBJECT (src),
|
||||||
GES_TRACK_TYPE_VIDEO);
|
GES_TRACK_TYPE_VIDEO);
|
||||||
} else if (v_avail) {
|
} else if (v_avail) {
|
||||||
ges_timeline_filesource_set_supported_formats (src,
|
ges_timeline_object_set_supported_formats (GES_TIMELINE_OBJECT (src),
|
||||||
GES_TRACK_TYPE_AUDIO);
|
GES_TRACK_TYPE_AUDIO);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -957,9 +957,11 @@ make_source (GESFormatter * self, GList * reflist, GHashTable * source_table)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (a_avail) {
|
if (a_avail) {
|
||||||
ges_timeline_filesource_set_supported_formats (src, GES_TRACK_TYPE_VIDEO);
|
ges_timeline_object_set_supported_formats (GES_TIMELINE_OBJECT (src),
|
||||||
|
GES_TRACK_TYPE_VIDEO);
|
||||||
} else if (v_avail) {
|
} else if (v_avail) {
|
||||||
ges_timeline_filesource_set_supported_formats (src, GES_TRACK_TYPE_AUDIO);
|
ges_timeline_object_set_supported_formats (GES_TIMELINE_OBJECT (src),
|
||||||
|
GES_TRACK_TYPE_AUDIO);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -329,22 +329,6 @@ filesource_set_max_duration (GESTimelineObject * object, guint64 maxduration)
|
||||||
g_list_free_full (tckobjs, g_object_unref);
|
g_list_free_full (tckobjs, g_object_unref);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* ges_timeline_filesource_set_supported_formats:
|
|
||||||
* @self: the #GESTimelineFileSource to set supported formats on
|
|
||||||
* @supportedformats: the #GESTrackType defining formats supported by @self
|
|
||||||
*
|
|
||||||
* Sets the formats supported by the file.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
void
|
|
||||||
ges_timeline_filesource_set_supported_formats (GESTimelineFileSource * self,
|
|
||||||
GESTrackType supportedformats)
|
|
||||||
{
|
|
||||||
ges_timeline_object_set_supported_formats (GES_TIMELINE_OBJECT (self),
|
|
||||||
supportedformats);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ges_timeline_filesource_set_is_image:
|
* ges_timeline_filesource_set_is_image:
|
||||||
* @self: the #GESTimelineFileSource
|
* @self: the #GESTimelineFileSource
|
||||||
|
@ -415,20 +399,6 @@ ges_timeline_filesource_get_uri (GESTimelineFileSource * self)
|
||||||
return self->priv->uri;
|
return self->priv->uri;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* ges_timeline_filesource_get_supported_formats:
|
|
||||||
* @self: the #GESTimelineFileSource
|
|
||||||
*
|
|
||||||
* Get the formats supported by @self.
|
|
||||||
*
|
|
||||||
* Returns: The formats supported by @self.
|
|
||||||
*/
|
|
||||||
GESTrackType
|
|
||||||
ges_timeline_filesource_get_supported_formats (GESTimelineFileSource * self)
|
|
||||||
{
|
|
||||||
return ges_timeline_object_get_supported_formats (GES_TIMELINE_OBJECT (self));
|
|
||||||
}
|
|
||||||
|
|
||||||
static GESTrackObject *
|
static GESTrackObject *
|
||||||
ges_timeline_filesource_create_track_object (GESTimelineObject * obj,
|
ges_timeline_filesource_create_track_object (GESTimelineObject * obj,
|
||||||
GESTrack * track)
|
GESTrack * track)
|
||||||
|
|
|
@ -78,10 +78,6 @@ void
|
||||||
ges_timeline_filesource_set_max_duration (GESTimelineFileSource * self,
|
ges_timeline_filesource_set_max_duration (GESTimelineFileSource * self,
|
||||||
guint64 maxduration);
|
guint64 maxduration);
|
||||||
|
|
||||||
void
|
|
||||||
ges_timeline_filesource_set_supported_formats (GESTimelineFileSource * self,
|
|
||||||
GESTrackType supportedformats);
|
|
||||||
|
|
||||||
void
|
void
|
||||||
ges_timeline_filesource_set_is_image (GESTimelineFileSource * self,
|
ges_timeline_filesource_set_is_image (GESTimelineFileSource * self,
|
||||||
gboolean is_image);
|
gboolean is_image);
|
||||||
|
@ -90,8 +86,6 @@ gboolean ges_timeline_filesource_is_muted (GESTimelineFileSource * self);
|
||||||
guint64 ges_timeline_filesource_get_max_duration (GESTimelineFileSource * self);
|
guint64 ges_timeline_filesource_get_max_duration (GESTimelineFileSource * self);
|
||||||
gboolean ges_timeline_filesource_is_image (GESTimelineFileSource * self);
|
gboolean ges_timeline_filesource_is_image (GESTimelineFileSource * self);
|
||||||
const gchar *ges_timeline_filesource_get_uri (GESTimelineFileSource * self);
|
const gchar *ges_timeline_filesource_get_uri (GESTimelineFileSource * self);
|
||||||
GESTrackType
|
|
||||||
ges_timeline_filesource_get_supported_formats (GESTimelineFileSource * self);
|
|
||||||
|
|
||||||
GESTimelineFileSource* ges_timeline_filesource_new (gchar *uri);
|
GESTimelineFileSource* ges_timeline_filesource_new (gchar *uri);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue