gstreamer/gst-libs/gst/player/gstplayer-media-info-private.h
Philippe Normand 12a7bf9f7c player: Rewrite as GstPlay wrapper
For the time being the GstPlayer library remains as a wrapper for GstPlay, in
order to keep existing applications working and give them time to port to
GstPlay. GstPlayer will remain in -bad for a couple cycles and the plan for
GstPlay is to move it to -base before 1.20.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2061>
2021-03-09 18:03:48 +00:00

113 lines
3.1 KiB
C

/* GStreamer
*
* Copyright (C) 2015 Brijesh Singh <brijesh.ksingh@gmail.com>
*
* 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 <gst/play/gstplay-media-info.h>
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__ */