Luis de Bethencourt
d45a1253b1
mpegdemux: remove unused property enum item
...
The property enum item has been there since the origin of the element but it
has never been used. Removing it.
2015-04-27 14:56:13 +01:00
Luis de Bethencourt
925b65b02e
Rename property enums from ARG_ to PROP_
...
Property enum items should be named PROP_ for consistency and readability.
2015-04-27 10:55:18 +01:00
Tim-Philipp Müller
699452ef31
Remove obsolete Android build cruft
...
This is not needed any longer.
2015-04-26 18:59:32 +01:00
Vincent Penquerc'h
d84d803431
mpegdemux: fix pad leak when not adding a new pad after no-more-pads
2015-04-16 13:35:40 +01:00
Mark Nauwelaerts
b2d109242f
mpegdemux: resurrect some flow return handling
...
https://bugzilla.gnome.org/show_bug.cgi?id=744572
2015-03-28 18:22:29 +01:00
Edward Hervey
ca22a8e87f
mpegdemux: minor debug update
...
Only show PTS/DTS when they are valid, and include the stream id
2015-01-21 08:47:48 +01:00
Luis de Bethencourt
8b2fc918b6
mpegdemux: fix dead code
...
found is initialized to FALSE to then only be used in two conditional statements
that will always be false, making the blocks inside them dead code. Looking back
in the file's history the setting of the variable's value before it is checked
was dropped as part of the port to 0.11, bringing that value setting back.
https://bugzilla.gnome.org/show_bug.cgi?id=742638
2015-01-12 12:59:20 +00:00
Tim-Philipp Müller
9f3a5fc168
mpegdemux: minor optimisation when scanning for SCRs
...
Bail out early when we're scanning for SCR, no need to
parse stuff we're not going to use nor interested in.
2015-01-11 20:42:13 +00:00
Tim-Philipp Müller
074d6347d1
mpegdemux: start pushing data again when a pad gets linked later
...
The whole not_linked optimisation is really a bit dodgy here, but
let's leave it in place for now and at least start pushing data
again when a pad got linked later, in which case we should get a
RECONFIGURE event.
2014-11-02 22:49:05 +00:00
Tim-Philipp Müller
2a93e71e67
mpegdemux: namespace fixes
2014-11-02 22:46:49 +00:00
Sanjay NM
44874d35b5
mpegdemux: removed an unwanted initialization and a variable
...
https://bugzilla.gnome.org/show_bug.cgi?id=736863
2014-09-18 12:54:05 +03:00
Edward Hervey
e7a0d7d0ed
mpegdemux: avoid crashing in pathological case
...
(Identical to commit 612cdeec80
which
was for resindvd)
When we'd see an unknown stream type, then a SDDS stream.
Then we'd get to the end of the switch with a NULL temp stream
pointer, and dereference it.
Coverity 1139708
2014-06-02 09:42:33 +02:00
Thiago Santos
6dc571b5cf
mpegdemux: use GstFlowCombiner
...
Removes flow return combination code to use the newly added GstFlowCombiner
https://bugzilla.gnome.org/show_bug.cgi?id=709224
2014-05-26 23:29:43 -03:00
Edward Hervey
f982feb1d9
mpegpsdemux: Flush program end code bytes
...
This should not harm regular files, since those are the last 4 bytes of
a normal file.
This allows to handle playback of concatenated mpeg-ps files. Seeking and
duration reporting is still wrong though.
2014-04-23 10:46:20 +02:00
Sebastian Dröge
03043b7238
mpegdemux: Don't write after the end of the psm array when initialising it
2014-02-27 22:28:16 +01:00
Edward Hervey
3bede97970
mpegpsdemux: Initialize PSM fully
...
Some gaps were missed in the previous version. Instead just initialize
the whole table to -1 first and then fill what needs to be specified.
2014-02-25 11:29:06 +01:00
Jan Schmidt
d52b0f922b
mpegdemux: Merge some changes from the resindvd copy
...
One bug fix, some debug changes and other inconsequential changes
just to reduce the diff between the 2 copies a bit.
2014-01-16 20:16:27 +11:00
Mark Nauwelaerts
b57981d15b
mpgegdemux: do not use pushed buffer in debug message
2013-11-11 13:36:02 +01:00
Stefan Sauer
0d54e5857f
mpegpsdemux: log time format as name instead of the number
2013-10-08 09:05:36 +02:00
Tim-Philipp Müller
310a633afb
mpegpsdemux: minor clean-up
2013-09-02 23:28:38 +01:00
Matej Knopp
e43d1959a8
mpegdemux: send events on pads that are not linked
...
Someone might be waiting for certain events with a probe.
https://bugzilla.gnome.org/show_bug.cgi?id=707317
2013-09-02 23:24:08 +01:00
Arnaud Vrac
c4140f9c25
mpegdemux: send codec tag for each stream
2013-08-12 14:32:09 +02:00
Sebastian Dröge
6812f96de4
gst: Don't swap start/stop for negative rates in the SEGMENT query
2013-07-29 12:14:08 +02:00
Sebastian Dröge
38e832cdef
mpegdemux: Implement SEGMENT query
2013-07-29 11:02:55 +02:00
Edward Hervey
97426a1caa
all: Fix for GST_DISABLE_GST_DEBUG
...
Where applicable, remove methods that don't do anything different than
the default implementation.
2013-07-29 09:42:12 +02:00
Sebastian Dröge
4ec7baa61a
mpegdemux: Add support for group-id in the stream-start event
2013-07-23 10:33:31 +02:00
Arnaud Vrac
506abb06e2
mpegdemux: do not push discont buffers if they aren't discont
...
Explicitly unset discont flag when it shouldn't be set.
https://bugzilla.gnome.org/show_bug.cgi?id=682110
2013-07-17 18:36:30 +01:00
Alban Browaeys
44b1bc6081
mpegdemux: accept ID_PRIVATE_STREAM_1 to avoid loosing sync
...
Current fallback to lost_sync seems to impede a delay to restore
sync. Let the parser parse and skip the private stream.
Here it contains the digital camera brand (in 2010 bytes)
and is repeated twice.
https://bugzilla.gnome.org/show_bug.cgi?id=697283
2013-06-07 12:57:03 +02:00
Sebastian Dröge
e51cd4fe2f
gst: Add better support for static plugins
2013-04-15 15:59:22 +02:00
Matej Knopp
13ac73bef4
mpegdemux: decrease log priority for repeating messages
...
https://bugzilla.gnome.org/show_bug.cgi?id=697834
2013-04-12 00:18:36 +01:00
Wim Taymans
d7bcf7206f
mpegpsdemux: push stream start event
2013-03-30 11:15:48 +01:00
David Schleef
aeee2084ff
mpegdemux: add parsed=false to mpeg2 caps
2013-02-12 11:48:21 -08:00
Tim-Philipp Müller
9e1b75fda3
Fix FSF address
...
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-04 00:09:59 +00:00
Thijs Vermeir
1d710ad13a
mpegdemux: check base_time before calculating new_start
...
https://bugzilla.gnome.org/show_bug.cgi?id=623387
2012-10-24 12:01:46 +02:00
Mark Nauwelaerts
88f407bb5b
mpegdemux: forward non-processed dvd events
...
... such as notably dvd-spu-clut-change.
2012-10-19 16:17:45 +02:00
Mark Nauwelaerts
a2b6f46f00
mpegdemux: segment event should be sent before gap event
2012-10-19 16:17:45 +02:00
Tim-Philipp Müller
32ba17cd0f
Use gst_element_class_set_static_metadata()
...
where possible. Avoids some string copies. Also re-indent
some stuff. Also some indent fixes here and there.
2012-10-17 17:46:34 +01:00
Sebastian Dröge
5e6783f5af
mpegdemux: Fix unitialized variable compiler warning
2012-10-16 11:38:08 +02:00
Mark Nauwelaerts
953e94ac78
mpegdemux: advance stream time when sending GAP event
2012-10-12 22:35:05 +02:00
Mark Nauwelaerts
c24eb1db9b
mpegdemux: send language info downstream if available
...
... as extracted from dvd event.
2012-10-12 22:35:05 +02:00
Mark Nauwelaerts
f708ab8de9
mpegdemux: remove obsolete struct field
2012-10-12 22:34:56 +02:00
Mark Nauwelaerts
ba47769823
mpegdemux: tweak flow return aggregation
2012-10-12 17:51:51 +02:00
Mark Nauwelaerts
a9c0609ae8
mpegdemux: handle upstream TIME segments
2012-10-12 17:03:38 +02:00
Mark Nauwelaerts
69cfbcbd0b
mpegdemux: handle and combine downstream flow return
2012-10-12 17:03:38 +02:00
Mark Nauwelaerts
acc0530f33
mpegdemux: handle new style dvd event
2012-10-12 17:03:38 +02:00
Mark Nauwelaerts
61849aad61
mpegdemux: do not add pad after no-more-pads
2012-10-12 17:03:38 +02:00
Mark Nauwelaerts
44583eae90
mpegdemux: clean up segment sending
...
... to use the src_segment as a basis for the sent segment,
thereby properly conveying accumulated base_time etc.
Also ensure src_segment is only adjusted once, so that
all downstream segments are identical to avoid stream
misalignment.
2012-10-12 17:03:38 +02:00
Mark Nauwelaerts
b8312df0a3
mpegdemux: send GAP event rather than segment updates
2012-10-12 17:03:38 +02:00
Mark Nauwelaerts
20cd96f5c3
mpegdemux: refactor segment sending
2012-10-12 17:03:37 +02:00
Mark Nauwelaerts
aca6237b3e
mpegdemux: refactor init and reset
2012-10-12 17:03:37 +02:00