player: Add missing documentation for deprecated functions

This commit is contained in:
Sebastian Dröge 2017-01-17 13:07:57 +02:00
parent 2609aaa48b
commit 9bd99d3670

View file

@ -862,18 +862,39 @@ GList *gst_player_get_audio_streams (const GstPlayerMediaInfo * info);
GList *gst_player_get_subtitle_streams (const GstPlayerMediaInfo * info); GList *gst_player_get_subtitle_streams (const GstPlayerMediaInfo * info);
#endif #endif
/**
* gst_player_get_video_streams:
* @info: a #GstPlayerMediaInfo
*
* Returns: (transfer none) (element-type GstPlayerVideoInfo): A #GList of
* matching #GstPlayerVideoInfo.
*/
GList * GList *
gst_player_get_video_streams (const GstPlayerMediaInfo * info) gst_player_get_video_streams (const GstPlayerMediaInfo * info)
{ {
return gst_player_media_info_get_video_streams (info); return gst_player_media_info_get_video_streams (info);
} }
/**
* gst_player_get_audio_streams:
* @info: a #GstPlayerMediaInfo
*
* Returns: (transfer none) (element-type GstPlayerAudioInfo): A #GList of
* matching #GstPlayerAudioInfo.
*/
GList * GList *
gst_player_get_audio_streams (const GstPlayerMediaInfo * info) gst_player_get_audio_streams (const GstPlayerMediaInfo * info)
{ {
return gst_player_media_info_get_audio_streams (info); return gst_player_media_info_get_audio_streams (info);
} }
/**
* gst_player_get_subtitle_streams:
* @info: a #GstPlayerMediaInfo
*
* Returns: (transfer none) (element-type GstPlayerSubtitleInfo): A #GList of
* matching #GstPlayerSubtitleInfo.
*/
GList * GList *
gst_player_get_subtitle_streams (const GstPlayerMediaInfo * info) gst_player_get_subtitle_streams (const GstPlayerMediaInfo * info)
{ {