mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 10:40:34 +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:
|
||||
* @data_inout: Pointer to data pointer
|
||||
* @id: Element ID that should be written.
|
||||
*
|
||||
*
|
||||
* Write element ID into a buffer.
|
||||
*/
|
||||
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_end: Data pointer positioned after the last byte in @buf_data (or
|
||||
* NULL for whole buffer).
|
||||
*
|
||||
*
|
||||
* Write out buffer by moving it to the next element.
|
||||
*/
|
||||
static void
|
||||
|
@ -485,7 +485,7 @@ gst_ebml_write_element_push (GstEbmlWrite * ebml, GstBuffer * buf,
|
|||
* gst_ebml_write_seek:
|
||||
* @ebml: #GstEbmlWrite
|
||||
* @pos: Seek position.
|
||||
*
|
||||
*
|
||||
* Seek.
|
||||
*/
|
||||
void
|
||||
|
@ -528,7 +528,7 @@ gst_ebml_write_seek (GstEbmlWrite * ebml, guint64 pos)
|
|||
/**
|
||||
* gst_ebml_write_get_uint_size:
|
||||
* @num: Number to be encoded.
|
||||
*
|
||||
*
|
||||
* Get number of bytes needed to write a uint.
|
||||
*
|
||||
* 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
|
||||
* the max. allowed length, so that we can later fill it
|
||||
* in validly.
|
||||
* in validly.
|
||||
*
|
||||
* Returns: Master starting position.
|
||||
*/
|
||||
|
@ -833,9 +833,9 @@ gst_ebml_write_binary (GstEbmlWrite * ebml,
|
|||
* @ebml: #GstEbmlWrite
|
||||
* @id: Element ID.
|
||||
* @length: Length of the data
|
||||
*
|
||||
*
|
||||
* Write header of the binary element (use with gst_ebml_write_buffer function).
|
||||
*
|
||||
*
|
||||
* For things like video frames and audio samples,
|
||||
* you want to use this function, as it doesn't have
|
||||
* the overhead of memcpy() that other functions
|
||||
|
@ -881,7 +881,7 @@ gst_ebml_write_buffer (GstEbmlWrite * ebml, GstBuffer * buf)
|
|||
* @num: New value.
|
||||
*
|
||||
* Replace uint with a new value.
|
||||
*
|
||||
*
|
||||
* When replacing a uint, we assume that it is *always*
|
||||
* 8-byte, since that's the safest guess we can do. This
|
||||
* is just for simplicity.
|
||||
|
@ -912,7 +912,7 @@ gst_ebml_replace_uint (GstEbmlWrite * ebml, guint64 pos, guint64 num)
|
|||
* @ebml: #GstEbmlWrite
|
||||
* @doctype: Document type.
|
||||
* @version: Document type version.
|
||||
*
|
||||
*
|
||||
* Write EBML header.
|
||||
*/
|
||||
void
|
||||
|
|
|
@ -96,7 +96,7 @@ void gst_ebml_write_seek (GstEbmlWrite *ebml,
|
|||
guint64 pos);
|
||||
|
||||
/*
|
||||
* Data writing.
|
||||
* Data writing.
|
||||
*/
|
||||
void gst_ebml_write_uint (GstEbmlWrite *ebml,
|
||||
guint32 id,
|
||||
|
|
|
@ -403,7 +403,7 @@
|
|||
#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_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_VOBSUB "S_VOBSUB"
|
||||
#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 */
|
||||
gint alignment;
|
||||
|
||||
|
||||
/* for compatibility with VFW files, where timestamp represents DTS */
|
||||
gboolean dts_only;
|
||||
|
||||
|
||||
/* indicate that the track is raw (jpeg,raw variants) and so pts=dts */
|
||||
gboolean intra_only;
|
||||
};
|
||||
|
|
|
@ -2472,7 +2472,7 @@ gst_matroska_mux_release_pad (GstElement * element, GstPad * pad)
|
|||
if (cdata->pad == pad) {
|
||||
/*
|
||||
* 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;
|
||||
|
||||
|
|
|
@ -77,7 +77,7 @@ GstMatroskaPad;
|
|||
|
||||
struct _GstMatroskaMux {
|
||||
GstElement element;
|
||||
|
||||
|
||||
/* < private > */
|
||||
|
||||
/* pads */
|
||||
|
@ -104,7 +104,7 @@ struct _GstMatroskaMux {
|
|||
GstMatroskaIndex *index;
|
||||
guint num_indexes;
|
||||
GstClockTimeDiff min_index_interval;
|
||||
|
||||
|
||||
/* timescale in the file */
|
||||
guint64 time_scale;
|
||||
/* 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 */
|
||||
GHashTable *cached_track_taglists ;
|
||||
|
||||
|
||||
} GstMatroskaReadCommon;
|
||||
|
||||
GstFlowReturn gst_matroska_decode_content_encodings (GArray * encodings);
|
||||
|
|
Loading…
Reference in a new issue