mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 05:31:15 +00:00
matroska: Remove white space
This commit is contained in:
parent
c4608b410c
commit
53fedc43ae
6 changed files with 17 additions and 17 deletions
|
@ -308,7 +308,7 @@ gst_ebml_write_element_new (GstEbmlWrite * ebml, GstMapInfo * map, guint size)
|
||||||
* gst_ebml_write_element_id:
|
* gst_ebml_write_element_id:
|
||||||
* @data_inout: Pointer to data pointer
|
* @data_inout: Pointer to data pointer
|
||||||
* @id: Element ID that should be written.
|
* @id: Element ID that should be written.
|
||||||
*
|
*
|
||||||
* Write element ID into a buffer.
|
* Write element ID into a buffer.
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
|
@ -407,7 +407,7 @@ gst_ebml_write_element_data (guint8 ** data_inout, guint8 * write,
|
||||||
* @buf_data: Start of data to push from @buf (or NULL for whole buffer).
|
* @buf_data: Start of data to push from @buf (or NULL for whole buffer).
|
||||||
* @buf_data_end: Data pointer positioned after the last byte in @buf_data (or
|
* @buf_data_end: Data pointer positioned after the last byte in @buf_data (or
|
||||||
* NULL for whole buffer).
|
* NULL for whole buffer).
|
||||||
*
|
*
|
||||||
* Write out buffer by moving it to the next element.
|
* Write out buffer by moving it to the next element.
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
|
@ -485,7 +485,7 @@ gst_ebml_write_element_push (GstEbmlWrite * ebml, GstBuffer * buf,
|
||||||
* gst_ebml_write_seek:
|
* gst_ebml_write_seek:
|
||||||
* @ebml: #GstEbmlWrite
|
* @ebml: #GstEbmlWrite
|
||||||
* @pos: Seek position.
|
* @pos: Seek position.
|
||||||
*
|
*
|
||||||
* Seek.
|
* Seek.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
|
@ -528,7 +528,7 @@ gst_ebml_write_seek (GstEbmlWrite * ebml, guint64 pos)
|
||||||
/**
|
/**
|
||||||
* gst_ebml_write_get_uint_size:
|
* gst_ebml_write_get_uint_size:
|
||||||
* @num: Number to be encoded.
|
* @num: Number to be encoded.
|
||||||
*
|
*
|
||||||
* Get number of bytes needed to write a uint.
|
* Get number of bytes needed to write a uint.
|
||||||
*
|
*
|
||||||
* Returns: Encoded uint length.
|
* Returns: Encoded uint length.
|
||||||
|
@ -740,7 +740,7 @@ gst_ebml_write_date (GstEbmlWrite * ebml, guint32 id, gint64 date)
|
||||||
*
|
*
|
||||||
* Master writing is annoying. We use a size marker of
|
* Master writing is annoying. We use a size marker of
|
||||||
* the max. allowed length, so that we can later fill it
|
* the max. allowed length, so that we can later fill it
|
||||||
* in validly.
|
* in validly.
|
||||||
*
|
*
|
||||||
* Returns: Master starting position.
|
* Returns: Master starting position.
|
||||||
*/
|
*/
|
||||||
|
@ -833,9 +833,9 @@ gst_ebml_write_binary (GstEbmlWrite * ebml,
|
||||||
* @ebml: #GstEbmlWrite
|
* @ebml: #GstEbmlWrite
|
||||||
* @id: Element ID.
|
* @id: Element ID.
|
||||||
* @length: Length of the data
|
* @length: Length of the data
|
||||||
*
|
*
|
||||||
* Write header of the binary element (use with gst_ebml_write_buffer function).
|
* Write header of the binary element (use with gst_ebml_write_buffer function).
|
||||||
*
|
*
|
||||||
* For things like video frames and audio samples,
|
* For things like video frames and audio samples,
|
||||||
* you want to use this function, as it doesn't have
|
* you want to use this function, as it doesn't have
|
||||||
* the overhead of memcpy() that other functions
|
* the overhead of memcpy() that other functions
|
||||||
|
@ -881,7 +881,7 @@ gst_ebml_write_buffer (GstEbmlWrite * ebml, GstBuffer * buf)
|
||||||
* @num: New value.
|
* @num: New value.
|
||||||
*
|
*
|
||||||
* Replace uint with a new value.
|
* Replace uint with a new value.
|
||||||
*
|
*
|
||||||
* When replacing a uint, we assume that it is *always*
|
* When replacing a uint, we assume that it is *always*
|
||||||
* 8-byte, since that's the safest guess we can do. This
|
* 8-byte, since that's the safest guess we can do. This
|
||||||
* is just for simplicity.
|
* is just for simplicity.
|
||||||
|
@ -912,7 +912,7 @@ gst_ebml_replace_uint (GstEbmlWrite * ebml, guint64 pos, guint64 num)
|
||||||
* @ebml: #GstEbmlWrite
|
* @ebml: #GstEbmlWrite
|
||||||
* @doctype: Document type.
|
* @doctype: Document type.
|
||||||
* @version: Document type version.
|
* @version: Document type version.
|
||||||
*
|
*
|
||||||
* Write EBML header.
|
* Write EBML header.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
|
|
|
@ -96,7 +96,7 @@ void gst_ebml_write_seek (GstEbmlWrite *ebml,
|
||||||
guint64 pos);
|
guint64 pos);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Data writing.
|
* Data writing.
|
||||||
*/
|
*/
|
||||||
void gst_ebml_write_uint (GstEbmlWrite *ebml,
|
void gst_ebml_write_uint (GstEbmlWrite *ebml,
|
||||||
guint32 id,
|
guint32 id,
|
||||||
|
|
|
@ -403,7 +403,7 @@
|
||||||
#define GST_MATROSKA_CODEC_ID_SUBTITLE_ASCII "S_TEXT/ASCII"
|
#define GST_MATROSKA_CODEC_ID_SUBTITLE_ASCII "S_TEXT/ASCII"
|
||||||
#define GST_MATROSKA_CODEC_ID_SUBTITLE_UTF8 "S_TEXT/UTF8"
|
#define GST_MATROSKA_CODEC_ID_SUBTITLE_UTF8 "S_TEXT/UTF8"
|
||||||
#define GST_MATROSKA_CODEC_ID_SUBTITLE_SSA "S_TEXT/SSA"
|
#define GST_MATROSKA_CODEC_ID_SUBTITLE_SSA "S_TEXT/SSA"
|
||||||
#define GST_MATROSKA_CODEC_ID_SUBTITLE_ASS "S_TEXT/ASS"
|
#define GST_MATROSKA_CODEC_ID_SUBTITLE_ASS "S_TEXT/ASS"
|
||||||
#define GST_MATROSKA_CODEC_ID_SUBTITLE_USF "S_TEXT/USF"
|
#define GST_MATROSKA_CODEC_ID_SUBTITLE_USF "S_TEXT/USF"
|
||||||
#define GST_MATROSKA_CODEC_ID_SUBTITLE_VOBSUB "S_VOBSUB"
|
#define GST_MATROSKA_CODEC_ID_SUBTITLE_VOBSUB "S_VOBSUB"
|
||||||
#define GST_MATROSKA_CODEC_ID_SUBTITLE_HDMVPGS "S_HDMV/PGS"
|
#define GST_MATROSKA_CODEC_ID_SUBTITLE_HDMVPGS "S_HDMV/PGS"
|
||||||
|
@ -600,10 +600,10 @@ struct _GstMatroskaTrackContext {
|
||||||
|
|
||||||
/* any alignment we need our output buffers to have */
|
/* any alignment we need our output buffers to have */
|
||||||
gint alignment;
|
gint alignment;
|
||||||
|
|
||||||
/* for compatibility with VFW files, where timestamp represents DTS */
|
/* for compatibility with VFW files, where timestamp represents DTS */
|
||||||
gboolean dts_only;
|
gboolean dts_only;
|
||||||
|
|
||||||
/* indicate that the track is raw (jpeg,raw variants) and so pts=dts */
|
/* indicate that the track is raw (jpeg,raw variants) and so pts=dts */
|
||||||
gboolean intra_only;
|
gboolean intra_only;
|
||||||
};
|
};
|
||||||
|
|
|
@ -2472,7 +2472,7 @@ gst_matroska_mux_release_pad (GstElement * element, GstPad * pad)
|
||||||
if (cdata->pad == pad) {
|
if (cdata->pad == pad) {
|
||||||
/*
|
/*
|
||||||
* observed duration, this will remain GST_CLOCK_TIME_NONE
|
* observed duration, this will remain GST_CLOCK_TIME_NONE
|
||||||
* only if the pad is resetted
|
* only if the pad is resetted
|
||||||
*/
|
*/
|
||||||
GstClockTime collected_duration = GST_CLOCK_TIME_NONE;
|
GstClockTime collected_duration = GST_CLOCK_TIME_NONE;
|
||||||
|
|
||||||
|
|
|
@ -77,7 +77,7 @@ GstMatroskaPad;
|
||||||
|
|
||||||
struct _GstMatroskaMux {
|
struct _GstMatroskaMux {
|
||||||
GstElement element;
|
GstElement element;
|
||||||
|
|
||||||
/* < private > */
|
/* < private > */
|
||||||
|
|
||||||
/* pads */
|
/* pads */
|
||||||
|
@ -104,7 +104,7 @@ struct _GstMatroskaMux {
|
||||||
GstMatroskaIndex *index;
|
GstMatroskaIndex *index;
|
||||||
guint num_indexes;
|
guint num_indexes;
|
||||||
GstClockTimeDiff min_index_interval;
|
GstClockTimeDiff min_index_interval;
|
||||||
|
|
||||||
/* timescale in the file */
|
/* timescale in the file */
|
||||||
guint64 time_scale;
|
guint64 time_scale;
|
||||||
/* minimum and maximum limit of nanoseconds you can have in a cluster */
|
/* minimum and maximum limit of nanoseconds you can have in a cluster */
|
||||||
|
|
|
@ -114,7 +114,7 @@ typedef struct _GstMatroskaReadCommon {
|
||||||
|
|
||||||
/* cache for track tags that forward-reference their tracks */
|
/* cache for track tags that forward-reference their tracks */
|
||||||
GHashTable *cached_track_taglists ;
|
GHashTable *cached_track_taglists ;
|
||||||
|
|
||||||
} GstMatroskaReadCommon;
|
} GstMatroskaReadCommon;
|
||||||
|
|
||||||
GstFlowReturn gst_matroska_decode_content_encodings (GArray * encodings);
|
GstFlowReturn gst_matroska_decode_content_encodings (GArray * encodings);
|
||||||
|
|
Loading…
Reference in a new issue