mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
player: Move audio/video/subtitle stream list getters into the correct namespace
This commit is contained in:
parent
9294dc4ac7
commit
00f9a21cd2
5 changed files with 21 additions and 18 deletions
|
@ -1905,9 +1905,6 @@ GstPlayerError
|
||||||
gst_player_error_get_name
|
gst_player_error_get_name
|
||||||
|
|
||||||
gst_player_get_media_info
|
gst_player_get_media_info
|
||||||
gst_player_get_audio_streams
|
|
||||||
gst_player_get_video_streams
|
|
||||||
gst_player_get_subtitle_streams
|
|
||||||
|
|
||||||
gst_player_set_audio_track
|
gst_player_set_audio_track
|
||||||
gst_player_set_video_track
|
gst_player_set_video_track
|
||||||
|
@ -2071,8 +2068,12 @@ gst_player_media_info_get_image_sample
|
||||||
gst_player_media_info_get_tags
|
gst_player_media_info_get_tags
|
||||||
gst_player_media_info_get_stream_list
|
gst_player_media_info_get_stream_list
|
||||||
gst_player_media_info_get_number_of_streams
|
gst_player_media_info_get_number_of_streams
|
||||||
gst_player_media_info_get_number_of_video_streams
|
|
||||||
|
gst_player_media_info_get_audio_streams
|
||||||
gst_player_media_info_get_number_of_audio_streams
|
gst_player_media_info_get_number_of_audio_streams
|
||||||
|
gst_player_media_info_get_video_streams
|
||||||
|
gst_player_media_info_get_number_of_video_streams
|
||||||
|
gst_player_media_info_get_subtitle_streams
|
||||||
gst_player_media_info_get_number_of_subtitle_streams
|
gst_player_media_info_get_number_of_subtitle_streams
|
||||||
|
|
||||||
gst_player_stream_info_get_index
|
gst_player_stream_info_get_index
|
||||||
|
|
|
@ -675,14 +675,14 @@ gst_player_media_info_get_stream_list (const GstPlayerMediaInfo * info)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gst_player_get_video_streams:
|
* gst_player_media_info_get_video_streams:
|
||||||
* @info: a #GstPlayerMediaInfo
|
* @info: a #GstPlayerMediaInfo
|
||||||
*
|
*
|
||||||
* Returns: (transfer none) (element-type GstPlayerVideoInfo): A #GList of
|
* Returns: (transfer none) (element-type GstPlayerVideoInfo): A #GList of
|
||||||
* matching #GstPlayerVideoInfo.
|
* matching #GstPlayerVideoInfo.
|
||||||
*/
|
*/
|
||||||
GList *
|
GList *
|
||||||
gst_player_get_video_streams (const GstPlayerMediaInfo * info)
|
gst_player_media_info_get_video_streams (const GstPlayerMediaInfo * info)
|
||||||
{
|
{
|
||||||
g_return_val_if_fail (GST_IS_PLAYER_MEDIA_INFO (info), NULL);
|
g_return_val_if_fail (GST_IS_PLAYER_MEDIA_INFO (info), NULL);
|
||||||
|
|
||||||
|
@ -690,14 +690,14 @@ gst_player_get_video_streams (const GstPlayerMediaInfo * info)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gst_player_get_subtitle_streams:
|
* gst_player_media_info_get_subtitle_streams:
|
||||||
* @info: a #GstPlayerMediaInfo
|
* @info: a #GstPlayerMediaInfo
|
||||||
*
|
*
|
||||||
* Returns: (transfer none) (element-type GstPlayerSubtitleInfo): A #GList of
|
* Returns: (transfer none) (element-type GstPlayerSubtitleInfo): A #GList of
|
||||||
* matching #GstPlayerSubtitleInfo.
|
* matching #GstPlayerSubtitleInfo.
|
||||||
*/
|
*/
|
||||||
GList *
|
GList *
|
||||||
gst_player_get_subtitle_streams (const GstPlayerMediaInfo * info)
|
gst_player_media_info_get_subtitle_streams (const GstPlayerMediaInfo * info)
|
||||||
{
|
{
|
||||||
g_return_val_if_fail (GST_IS_PLAYER_MEDIA_INFO (info), NULL);
|
g_return_val_if_fail (GST_IS_PLAYER_MEDIA_INFO (info), NULL);
|
||||||
|
|
||||||
|
@ -705,14 +705,14 @@ gst_player_get_subtitle_streams (const GstPlayerMediaInfo * info)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gst_player_get_audio_streams:
|
* gst_player_media_info_get_audio_streams:
|
||||||
* @info: a #GstPlayerMediaInfo
|
* @info: a #GstPlayerMediaInfo
|
||||||
*
|
*
|
||||||
* Returns: (transfer none) (element-type GstPlayerAudioInfo): A #GList of
|
* Returns: (transfer none) (element-type GstPlayerAudioInfo): A #GList of
|
||||||
* matching #GstPlayerAudioInfo.
|
* matching #GstPlayerAudioInfo.
|
||||||
*/
|
*/
|
||||||
GList *
|
GList *
|
||||||
gst_player_get_audio_streams (const GstPlayerMediaInfo * info)
|
gst_player_media_info_get_audio_streams (const GstPlayerMediaInfo * info)
|
||||||
{
|
{
|
||||||
g_return_val_if_fail (GST_IS_PLAYER_MEDIA_INFO (info), NULL);
|
g_return_val_if_fail (GST_IS_PLAYER_MEDIA_INFO (info), NULL);
|
||||||
|
|
||||||
|
|
|
@ -177,15 +177,15 @@ GList* gst_player_media_info_get_stream_list
|
||||||
(const GstPlayerMediaInfo *info);
|
(const GstPlayerMediaInfo *info);
|
||||||
guint gst_player_media_info_get_number_of_streams
|
guint gst_player_media_info_get_number_of_streams
|
||||||
(const GstPlayerMediaInfo *info);
|
(const GstPlayerMediaInfo *info);
|
||||||
GList* gst_player_get_video_streams
|
GList* gst_player_media_info_get_video_streams
|
||||||
(const GstPlayerMediaInfo *info);
|
(const GstPlayerMediaInfo *info);
|
||||||
guint gst_player_media_info_get_number_of_video_streams
|
guint gst_player_media_info_get_number_of_video_streams
|
||||||
(const GstPlayerMediaInfo *info);
|
(const GstPlayerMediaInfo *info);
|
||||||
GList* gst_player_get_audio_streams
|
GList* gst_player_media_info_get_audio_streams
|
||||||
(const GstPlayerMediaInfo *info);
|
(const GstPlayerMediaInfo *info);
|
||||||
guint gst_player_media_info_get_number_of_audio_streams
|
guint gst_player_media_info_get_number_of_audio_streams
|
||||||
(const GstPlayerMediaInfo *info);
|
(const GstPlayerMediaInfo *info);
|
||||||
GList* gst_player_get_subtitle_streams
|
GList* gst_player_media_info_get_subtitle_streams
|
||||||
(const GstPlayerMediaInfo *info);
|
(const GstPlayerMediaInfo *info);
|
||||||
guint gst_player_media_info_get_number_of_subtitle_streams
|
guint gst_player_media_info_get_number_of_subtitle_streams
|
||||||
(const GstPlayerMediaInfo *info);
|
(const GstPlayerMediaInfo *info);
|
||||||
|
|
|
@ -2366,7 +2366,8 @@ get_from_tags (GstPlayer * self, GstPlayerMediaInfo * media_info,
|
||||||
|
|
||||||
/* if global tag does not exit then try video and audio streams */
|
/* if global tag does not exit then try video and audio streams */
|
||||||
GST_DEBUG_OBJECT (self, "trying video tags");
|
GST_DEBUG_OBJECT (self, "trying video tags");
|
||||||
for (l = gst_player_get_video_streams (media_info); l != NULL; l = l->next) {
|
for (l = gst_player_media_info_get_video_streams (media_info); l != NULL;
|
||||||
|
l = l->next) {
|
||||||
GstTagList *tags;
|
GstTagList *tags;
|
||||||
|
|
||||||
tags = gst_player_stream_info_get_tags ((GstPlayerStreamInfo *) l->data);
|
tags = gst_player_stream_info_get_tags ((GstPlayerStreamInfo *) l->data);
|
||||||
|
@ -2378,7 +2379,8 @@ get_from_tags (GstPlayer * self, GstPlayerMediaInfo * media_info,
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (self, "trying audio tags");
|
GST_DEBUG_OBJECT (self, "trying audio tags");
|
||||||
for (l = gst_player_get_audio_streams (media_info); l != NULL; l = l->next) {
|
for (l = gst_player_media_info_get_audio_streams (media_info); l != NULL;
|
||||||
|
l = l->next) {
|
||||||
GstTagList *tags;
|
GstTagList *tags;
|
||||||
|
|
||||||
tags = gst_player_stream_info_get_tags ((GstPlayerStreamInfo *) l->data);
|
tags = gst_player_stream_info_get_tags ((GstPlayerStreamInfo *) l->data);
|
||||||
|
|
|
@ -18,7 +18,6 @@ EXPORTS
|
||||||
gst_player_error_quark
|
gst_player_error_quark
|
||||||
gst_player_g_main_context_signal_dispatcher_get_type
|
gst_player_g_main_context_signal_dispatcher_get_type
|
||||||
gst_player_g_main_context_signal_dispatcher_new
|
gst_player_g_main_context_signal_dispatcher_new
|
||||||
gst_player_get_audio_streams
|
|
||||||
gst_player_get_audio_video_offset
|
gst_player_get_audio_video_offset
|
||||||
gst_player_get_color_balance
|
gst_player_get_color_balance
|
||||||
gst_player_get_config
|
gst_player_get_config
|
||||||
|
@ -34,13 +33,12 @@ EXPORTS
|
||||||
gst_player_get_pipeline
|
gst_player_get_pipeline
|
||||||
gst_player_get_position
|
gst_player_get_position
|
||||||
gst_player_get_rate
|
gst_player_get_rate
|
||||||
gst_player_get_subtitle_streams
|
|
||||||
gst_player_get_subtitle_uri
|
gst_player_get_subtitle_uri
|
||||||
gst_player_get_type
|
gst_player_get_type
|
||||||
gst_player_get_uri
|
gst_player_get_uri
|
||||||
gst_player_get_video_streams
|
|
||||||
gst_player_get_volume
|
gst_player_get_volume
|
||||||
gst_player_has_color_balance
|
gst_player_has_color_balance
|
||||||
|
gst_player_media_info_get_audio_streams
|
||||||
gst_player_media_info_get_container_format
|
gst_player_media_info_get_container_format
|
||||||
gst_player_media_info_get_duration
|
gst_player_media_info_get_duration
|
||||||
gst_player_media_info_get_image_sample
|
gst_player_media_info_get_image_sample
|
||||||
|
@ -49,10 +47,12 @@ EXPORTS
|
||||||
gst_player_media_info_get_number_of_subtitle_streams
|
gst_player_media_info_get_number_of_subtitle_streams
|
||||||
gst_player_media_info_get_number_of_video_streams
|
gst_player_media_info_get_number_of_video_streams
|
||||||
gst_player_media_info_get_stream_list
|
gst_player_media_info_get_stream_list
|
||||||
|
gst_player_media_info_get_subtitle_streams
|
||||||
gst_player_media_info_get_tags
|
gst_player_media_info_get_tags
|
||||||
gst_player_media_info_get_title
|
gst_player_media_info_get_title
|
||||||
gst_player_media_info_get_type
|
gst_player_media_info_get_type
|
||||||
gst_player_media_info_get_uri
|
gst_player_media_info_get_uri
|
||||||
|
gst_player_media_info_get_video_streams
|
||||||
gst_player_media_info_is_live
|
gst_player_media_info_is_live
|
||||||
gst_player_media_info_is_seekable
|
gst_player_media_info_is_seekable
|
||||||
gst_player_new
|
gst_player_new
|
||||||
|
|
Loading…
Reference in a new issue