summaryrefslogtreecommitdiff
path: root/gst-libs/gst/player/gstplayer-media-info.h
diff options
context:
space:
mode:
Diffstat (limited to 'gst-libs/gst/player/gstplayer-media-info.h')
-rw-r--r--gst-libs/gst/player/gstplayer-media-info.h77
1 files changed, 39 insertions, 38 deletions
diff --git a/gst-libs/gst/player/gstplayer-media-info.h b/gst-libs/gst/player/gstplayer-media-info.h
index 5c65f27fb..8d2eb4f1e 100644
--- a/gst-libs/gst/player/gstplayer-media-info.h
+++ b/gst-libs/gst/player/gstplayer-media-info.h
@@ -22,6 +22,7 @@
#define __GST_PLAYER_MEDIA_INFO_H__
#include <gst/gst.h>
+#include <gst/player/player-prelude.h>
G_BEGIN_DECLS
@@ -46,22 +47,22 @@ G_BEGIN_DECLS
typedef struct _GstPlayerStreamInfo GstPlayerStreamInfo;
typedef struct _GstPlayerStreamInfoClass GstPlayerStreamInfoClass;
-GST_EXPORT
+GST_PLAYER_API
GType gst_player_stream_info_get_type (void);
-GST_EXPORT
+GST_PLAYER_API
gint gst_player_stream_info_get_index (const GstPlayerStreamInfo *info);
-GST_EXPORT
+GST_PLAYER_API
const gchar* gst_player_stream_info_get_stream_type (const GstPlayerStreamInfo *info);
-GST_EXPORT
+GST_PLAYER_API
GstTagList* gst_player_stream_info_get_tags (const GstPlayerStreamInfo *info);
-GST_EXPORT
+GST_PLAYER_API
GstCaps* gst_player_stream_info_get_caps (const GstPlayerStreamInfo *info);
-GST_EXPORT
+GST_PLAYER_API
const gchar* gst_player_stream_info_get_codec (const GstPlayerStreamInfo *info);
#define GST_TYPE_PLAYER_VIDEO_INFO \
@@ -83,27 +84,27 @@ const gchar* gst_player_stream_info_get_codec (const GstPlayerStreamInfo *info)
typedef struct _GstPlayerVideoInfo GstPlayerVideoInfo;
typedef struct _GstPlayerVideoInfoClass GstPlayerVideoInfoClass;
-GST_EXPORT
+GST_PLAYER_API
GType gst_player_video_info_get_type (void);
-GST_EXPORT
+GST_PLAYER_API
gint gst_player_video_info_get_bitrate (const GstPlayerVideoInfo * info);
-GST_EXPORT
+GST_PLAYER_API
gint gst_player_video_info_get_max_bitrate (const GstPlayerVideoInfo * info);
-GST_EXPORT
+GST_PLAYER_API
gint gst_player_video_info_get_width (const GstPlayerVideoInfo * info);
-GST_EXPORT
+GST_PLAYER_API
gint gst_player_video_info_get_height (const GstPlayerVideoInfo * info);
-GST_EXPORT
+GST_PLAYER_API
void gst_player_video_info_get_framerate (const GstPlayerVideoInfo * info,
gint * fps_n,
gint * fps_d);
-GST_EXPORT
+GST_PLAYER_API
void gst_player_video_info_get_pixel_aspect_ratio (const GstPlayerVideoInfo * info,
guint * par_n,
guint * par_d);
@@ -127,22 +128,22 @@ void gst_player_video_info_get_pixel_aspect_ratio (const GstPlayerVideo
typedef struct _GstPlayerAudioInfo GstPlayerAudioInfo;
typedef struct _GstPlayerAudioInfoClass GstPlayerAudioInfoClass;
-GST_EXPORT
+GST_PLAYER_API
GType gst_player_audio_info_get_type (void);
-GST_EXPORT
+GST_PLAYER_API
gint gst_player_audio_info_get_channels (const GstPlayerAudioInfo* info);
-GST_EXPORT
+GST_PLAYER_API
gint gst_player_audio_info_get_sample_rate (const GstPlayerAudioInfo* info);
-GST_EXPORT
+GST_PLAYER_API
gint gst_player_audio_info_get_bitrate (const GstPlayerAudioInfo* info);
-GST_EXPORT
+GST_PLAYER_API
gint gst_player_audio_info_get_max_bitrate (const GstPlayerAudioInfo* info);
-GST_EXPORT
+GST_PLAYER_API
const gchar* gst_player_audio_info_get_language (const GstPlayerAudioInfo* info);
#define GST_TYPE_PLAYER_SUBTITLE_INFO \
@@ -164,10 +165,10 @@ const gchar* gst_player_audio_info_get_language (const GstPlayerAudioInfo* i
typedef struct _GstPlayerSubtitleInfo GstPlayerSubtitleInfo;
typedef struct _GstPlayerSubtitleInfoClass GstPlayerSubtitleInfoClass;
-GST_EXPORT
+GST_PLAYER_API
GType gst_player_subtitle_info_get_type (void);
-GST_EXPORT
+GST_PLAYER_API
const gchar * gst_player_subtitle_info_get_language (const GstPlayerSubtitleInfo* info);
#define GST_TYPE_PLAYER_MEDIA_INFO \
@@ -189,55 +190,55 @@ const gchar * gst_player_subtitle_info_get_language (const GstPlayerSubtitleInfo
typedef struct _GstPlayerMediaInfo GstPlayerMediaInfo;
typedef struct _GstPlayerMediaInfoClass GstPlayerMediaInfoClass;
-GST_EXPORT
+GST_PLAYER_API
GType gst_player_media_info_get_type (void);
-GST_EXPORT
+GST_PLAYER_API
const gchar * gst_player_media_info_get_uri (const GstPlayerMediaInfo *info);
-GST_EXPORT
+GST_PLAYER_API
gboolean gst_player_media_info_is_seekable (const GstPlayerMediaInfo *info);
-GST_EXPORT
+GST_PLAYER_API
gboolean gst_player_media_info_is_live (const GstPlayerMediaInfo *info);
-GST_EXPORT
+GST_PLAYER_API
GstClockTime gst_player_media_info_get_duration (const GstPlayerMediaInfo *info);
-GST_EXPORT
+GST_PLAYER_API
GList* gst_player_media_info_get_stream_list (const GstPlayerMediaInfo *info);
-GST_EXPORT
+GST_PLAYER_API
guint gst_player_media_info_get_number_of_streams (const GstPlayerMediaInfo *info);
-GST_EXPORT
+GST_PLAYER_API
GList* gst_player_media_info_get_video_streams (const GstPlayerMediaInfo *info);
-GST_EXPORT
+GST_PLAYER_API
guint gst_player_media_info_get_number_of_video_streams (const GstPlayerMediaInfo *info);
-GST_EXPORT
+GST_PLAYER_API
GList* gst_player_media_info_get_audio_streams (const GstPlayerMediaInfo *info);
-GST_EXPORT
+GST_PLAYER_API
guint gst_player_media_info_get_number_of_audio_streams (const GstPlayerMediaInfo *info);
-GST_EXPORT
+GST_PLAYER_API
GList* gst_player_media_info_get_subtitle_streams (const GstPlayerMediaInfo *info);
-GST_EXPORT
+GST_PLAYER_API
guint gst_player_media_info_get_number_of_subtitle_streams (const GstPlayerMediaInfo *info);
-GST_EXPORT
+GST_PLAYER_API
GstTagList* gst_player_media_info_get_tags (const GstPlayerMediaInfo *info);
-GST_EXPORT
+GST_PLAYER_API
const gchar* gst_player_media_info_get_title (const GstPlayerMediaInfo *info);
-GST_EXPORT
+GST_PLAYER_API
const gchar* gst_player_media_info_get_container_format (const GstPlayerMediaInfo *info);
-GST_EXPORT
+GST_PLAYER_API
GstSample* gst_player_media_info_get_image_sample (const GstPlayerMediaInfo *info);
#ifndef GST_REMOVE_DEPRECATED