mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 10:40:34 +00:00
006c7181ed
It is the only thing gst_pb_utils_init() does and it could be automatically called from the places in pbutils it is needed. After 1.14 we should deprecate gst_pb_utils_init(). https://bugzilla.gnome.org/show_bug.cgi?id=793611
117 lines
2.7 KiB
C
117 lines
2.7 KiB
C
/* GStreamer
|
|
* Copyright (C) 2010 Edward Hervey <edward.hervey@collabora.co.uk>
|
|
* 2010 Nokia Corporation
|
|
*
|
|
* 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 "gstdiscoverer.h"
|
|
|
|
struct _GstDiscovererStreamInfo {
|
|
GObject parent;
|
|
|
|
GstDiscovererStreamInfo *previous; /* NULL for starting points */
|
|
GstDiscovererStreamInfo *next; /* NULL for containers */
|
|
|
|
GstCaps *caps;
|
|
GstTagList *tags;
|
|
GstToc *toc;
|
|
gchar *stream_id;
|
|
GstStructure *misc;
|
|
|
|
gpointer _gst_reserved[GST_PADDING];
|
|
};
|
|
|
|
struct _GstDiscovererContainerInfo {
|
|
GstDiscovererStreamInfo parent;
|
|
|
|
GList *streams;
|
|
|
|
gpointer _gst_reserved[GST_PADDING];
|
|
};
|
|
|
|
struct _GstDiscovererAudioInfo {
|
|
GstDiscovererStreamInfo parent;
|
|
|
|
guint64 channel_mask;
|
|
guint channels;
|
|
guint sample_rate;
|
|
guint depth;
|
|
|
|
guint bitrate;
|
|
guint max_bitrate;
|
|
|
|
gchar *language;
|
|
|
|
gpointer _gst_reserved[GST_PADDING];
|
|
};
|
|
|
|
struct _GstDiscovererVideoInfo {
|
|
GstDiscovererStreamInfo parent;
|
|
|
|
guint width;
|
|
guint height;
|
|
guint depth;
|
|
guint framerate_num;
|
|
guint framerate_denom;
|
|
guint par_num;
|
|
guint par_denom;
|
|
gboolean interlaced;
|
|
|
|
guint bitrate;
|
|
guint max_bitrate;
|
|
|
|
gboolean is_image;
|
|
|
|
gpointer _gst_reserved[GST_PADDING];
|
|
};
|
|
|
|
struct _GstDiscovererSubtitleInfo {
|
|
GstDiscovererStreamInfo parent;
|
|
|
|
gchar *language;
|
|
|
|
gpointer _gst_reserved[GST_PADDING];
|
|
};
|
|
|
|
struct _GstDiscovererInfo {
|
|
GObject parent;
|
|
|
|
gchar *uri;
|
|
GstDiscovererResult result;
|
|
|
|
/* Sub-streams */
|
|
GstDiscovererStreamInfo *stream_info;
|
|
GList *stream_list;
|
|
|
|
/* Stream global information */
|
|
GstClockTime duration;
|
|
GstStructure *misc;
|
|
GstTagList *tags;
|
|
GstToc *toc;
|
|
gboolean live;
|
|
gboolean seekable;
|
|
GPtrArray *missing_elements_details;
|
|
|
|
gpointer _gst_reserved[GST_PADDING];
|
|
};
|
|
|
|
/* missing-plugins.c */
|
|
G_GNUC_INTERNAL
|
|
GstCaps *copy_and_clean_caps (const GstCaps * caps);
|
|
|
|
G_GNUC_INTERNAL
|
|
void gst_pb_utils_init_locale_text_domain (void);
|