summaryrefslogtreecommitdiffstats
path: root/gst/mpegtsparse/mpegtsparse.c
diff options
context:
space:
mode:
authorZaheer Abbas Merali <zaheerabbas@merali.org>2008-02-07 14:45:06 +0000
committerZaheer Abbas Merali <zaheerabbas@merali.org>2008-02-07 14:45:06 +0000
commitee15d7657dd5cfc133c794a44ab89535ab8d720e (patch)
treece0ca38779e10f4a4e973a1e331ed222874963f4 /gst/mpegtsparse/mpegtsparse.c
parent6063b1da97fb2f84ce5e6bd6d013f03b1662e740 (diff)
downloadgst-plugins-bad-ee15d7657dd5cfc133c794a44ab89535ab8d720e.tar.gz
gst-plugins-bad-ee15d7657dd5cfc133c794a44ab89535ab8d720e.tar.bz2
gst-plugins-bad-ee15d7657dd5cfc133c794a44ab89535ab8d720e.zip
gst/mpegtsparse/mpegtspacketizer.c: Parse component descriptor.
Original commit message from CVS: * gst/mpegtsparse/mpegtspacketizer.c: Parse component descriptor. * gst/mpegtsparse/mpegtsparse.c: Add SI pids to every program (but hardcoded currently).
Diffstat (limited to 'gst/mpegtsparse/mpegtsparse.c')
-rw-r--r--gst/mpegtsparse/mpegtsparse.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/mpegtsparse/mpegtsparse.c b/gst/mpegtsparse/mpegtsparse.c
index bf05d3cc..6b79d9f6 100644
--- a/gst/mpegtsparse/mpegtsparse.c
+++ b/gst/mpegtsparse/mpegtsparse.c
@@ -652,8 +652,9 @@ mpegts_parse_tspad_push (MpegTSParse * parse, MpegTSParsePad * tspad,
}
}
- /* FIXME: send all the SI pids not only PAT and PMT */
+ /* FIXME: take the SI pids from a list not hardcoded here */
if (pad_pids == NULL || pid == pcr_pid || pid == pmt_pid || pid == 0 ||
+ pid == 0x10 || pid == 0x11 || pid == 0x12 ||
g_hash_table_lookup (pad_pids, GINT_TO_POINTER ((gint) pid)) != NULL) {
/* push if there's no filter or if the pid is in the filter */
ret = gst_pad_push (tspad->pad, buffer);