/* GStreamer * * Copyright (C) 2015 Brijesh Singh * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public * License along with this library; if not, write to the * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, * Boston, MA 02110-1301, USA. */ #include "gstplayer-media-info.h" #ifndef __GST_PLAYER_MEDIA_INFO_PRIVATE_H__ #define __GST_PLAYER_MEDIA_INFO_PRIVATE_H__ #include struct _GstPlayerStreamInfo { GObject parent; gint stream_index; GstPlayStreamInfo *info; }; struct _GstPlayerStreamInfoClass { GObjectClass parent_class; }; struct _GstPlayerSubtitleInfo { GstPlayerStreamInfo parent; GstPlaySubtitleInfo *info; }; struct _GstPlayerSubtitleInfoClass { GstPlayerStreamInfoClass parent_class; }; struct _GstPlayerAudioInfo { GstPlayerStreamInfo parent; GstPlayAudioInfo *info; }; struct _GstPlayerAudioInfoClass { GstPlayerStreamInfoClass parent_class; }; struct _GstPlayerVideoInfo { GstPlayerStreamInfo parent; GstPlayVideoInfo *info; }; struct _GstPlayerVideoInfoClass { GstPlayerStreamInfoClass parent_class; }; struct _GstPlayerMediaInfo { GObject parent; GList *stream_list; GList *audio_stream_list; GList *video_stream_list; GList *subtitle_stream_list; GstPlayMediaInfo *info; }; struct _GstPlayerMediaInfoClass { GObjectClass parent_class; }; G_GNUC_INTERNAL GstPlayerMediaInfo* gst_player_media_info_new (void); G_GNUC_INTERNAL GstPlayerMediaInfo* gst_player_media_info_copy (GstPlayerMediaInfo *ref); G_GNUC_INTERNAL GstPlayerStreamInfo* gst_player_stream_info_new (gint stream_index, GType type); G_GNUC_INTERNAL GstPlayerStreamInfo* gst_player_stream_info_wrapped (GstPlayStreamInfo * info); G_GNUC_INTERNAL GstPlayerStreamInfo* gst_player_stream_info_copy (GstPlayerStreamInfo *ref); G_GNUC_INTERNAL GstPlayerMediaInfo* gst_player_media_info_wrapped (GstPlayMediaInfo *info); G_GNUC_INTERNAL GstPlayerAudioInfo* gst_player_audio_info_wrapped (GstPlayAudioInfo *info); G_GNUC_INTERNAL GstPlayerVideoInfo* gst_player_video_info_wrapped (GstPlayVideoInfo *info); G_GNUC_INTERNAL GstPlayerSubtitleInfo* gst_player_subtitle_info_wrapped (GstPlaySubtitleInfo *info); #endif /* __GST_PLAYER_MEDIA_INFO_PRIVATE_H__ */