summaryrefslogtreecommitdiff
path: root/gst/mpegtsdemux/mpegtspacketizer.h
diff options
context:
space:
mode:
authorEdward Hervey <edward@collabora.com>2013-06-23 15:26:14 +0200
committerEdward Hervey <edward@collabora.com>2013-06-24 07:49:34 +0200
commit9fd7f1c082065f72496763783bf2d0cf184da57d (patch)
tree06698db06310b1f1202f7ad074024ca9649b5ace /gst/mpegtsdemux/mpegtspacketizer.h
parentb00192d7c0c92cbfdbaf11c812dc0c00a19e4cdc (diff)
mpegtspacketizer: Speedup packet parsing
Avoid using bitshifting where not needed. Speeds up packet parsing by 3% (this is *the* hotspot of mpeg-ts elements).
Diffstat (limited to 'gst/mpegtsdemux/mpegtspacketizer.h')
-rw-r--r--gst/mpegtsdemux/mpegtspacketizer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/mpegtsdemux/mpegtspacketizer.h b/gst/mpegtsdemux/mpegtspacketizer.h
index b6e1aafa4..bdc6073bb 100644
--- a/gst/mpegtsdemux/mpegtspacketizer.h
+++ b/gst/mpegtsdemux/mpegtspacketizer.h
@@ -153,7 +153,7 @@ typedef struct
* section when the section_syntax_indicator is set to a value of "1". If
* section_syntax_indicator is 0, sub_table_extension will be set to 0 */
guint16 subtable_extension;
- guint8 version_number;
+ guint8 version_number;
GList * crc;
} MpegTSPacketizerStreamSubtable;