Vincent Penquerc'h
2ae5adfd53
aiffparse: adaptive buffer size
...
Copied from wavparse, helps with CPU usage on high bitrate
files.
2014-02-04 10:48:55 +00:00
Vincent Penquerc'h
0c01e9812a
aiffparse: fix data start offset calculation not counting COMM size
...
In particular, this fixes seeking back to the start reading data
out of sync with sample start granularity, yielding swapped channels.
2014-02-02 14:35:18 +00:00
Thiago Santos
6b0014b5ac
gdp: add DTS to headers
2014-01-31 23:44:11 -03:00
Thiago Santos
a029a35036
gdppay: update to 1.x reality
...
* stream-start-id is mandatory at the beginning, so add that to the
gdp headers
* caps must be sent before new segment, invert the order from legacy
0.10 code
And fix the tests as a ref is now kept for those buffers that compose
the header
2014-01-31 23:44:11 -03:00
Colin Macdonald
c8eb403e38
fisheye: Fix documentation
...
https://bugzilla.gnome.org/show_bug.cgi?id=723398
2014-01-31 16:59:11 -05:00
Thibault Saunier
5fd9b42f29
h264parse: Default framerate to 0/1 when no informations found
...
It is not perfect but it allows us to be sure that the mandatory 'framerate'
field is present in the caps.
As soon as some information is found in the stream, that will be
updated.
https://bugzilla.gnome.org/show_bug.cgi?id=723243
2014-01-31 09:28:58 +01:00
Thiago Santos
e909e6a071
gdppay: push the stream-start event
...
instead of just swallowing upstream's stream-start into its
payload, push it as elements expect a stream-start before data
2014-01-30 18:18:18 -03:00
Sebastian Dröge
9682e44db6
tsdemux: We do not support the SKIP seek flag but that is not a problem
2014-01-30 20:29:58 +01:00
Amaury Medeiros
44a87d2109
tsdemux: Fix flags comparison operator precedence
...
Fix operator precedence, so the whole operation is
negated instead of only flags variable.
https://bugzilla.gnome.org/show_bug.cgi?id=722096
2014-01-28 13:56:44 +01:00
Sjoerd Simons
f6da7ea8bb
mxfdemux: Don't go into pull mode when the sequential flag is set
...
When the scheduling query results has GST_SCHEDULING_FLAG_SEQUENTIAL set
in its flags don't go into pull mode to prevent over-eager seeking.
https://bugzilla.gnome.org/show_bug.cgi?id=722934
2014-01-24 22:14:47 +01:00
Aurélien Zanelli
af78b45979
h264parse: Fix multiple SEI messages in one SEI RBSP parsing.
...
An SEI RBSP could contains more than one SEI message as specified in
7.4.2.3.1.
This commit change the parser API: the gst_h264_parser_parse_sei()
function now create and fill a GArray containing GstH264SEIMessage.
https://bugzilla.gnome.org/show_bug.cgi?id=721715
2014-01-23 20:18:53 +01:00
Justin Joy
99c2aa14c3
mpegtsmux: don't leak pad name when treating events
...
https://bugzilla.gnome.org/show_bug.cgi?id=722699
2014-01-22 10:07:11 +01:00
Wim Taymans
0bb2e2f74f
mpegpsmux: update last_ts to mux correctly
...
We use last_ts to decide what buffer to mux next so make sure that it
always contains the last known valid timestamp.
2014-01-21 11:19:13 +01:00
Wim Taymans
e58a00b2a2
mpegpsmux: fix timestamp handling
...
If the first buffer that we handle for a stream has no timestamp, we
would never consider this pad again for muxing which causes queues to
fill up and pipelines to stall. Instead, try to mux pads with -1
timestamps as soon as possible.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=722330
2014-01-20 16:25:51 +01:00
Wim Taymans
4e10667aad
mpegpsmux: return GST_FLOW_EOS when we pushed EOS
...
Return GST_FLOW_EOS from the collected function when we pushed EOS or
else it simply keeps on calling our collected function.
2014-01-20 16:23:49 +01:00
duhui.lee
cd8c0227c8
h265parse: Update caps when receive VPS/SPS/PPS
...
https://bugzilla.gnome.org/show_bug.cgi?id=722240
2014-01-20 10:05:18 +01:00
Andrey Utkin
0caa4cdfd8
tsdemux: Fix leak of PCROffsetGroup
...
https://bugzilla.gnome.org/show_bug.cgi?id=722462
2014-01-17 23:08:49 -03:00
Sebastian Dröge
dfd23a3182
audiomixer: Remove some useless assignments and skip the current part of the buffer if the pad is muted
2014-01-16 12:19:57 +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
Sebastian Dröge
aa3eb10cee
audiomixer: Fix and simplify overlap calculation
2014-01-15 23:30:57 +01:00
Andrey Utkin
4d957e53e4
tsdemux: fix memleak of PCROffsetCurrent
...
https://bugzilla.gnome.org/show_bug.cgi?id=722145
2014-01-14 10:33:44 +01:00
Stefan Sauer
dc2778734b
aiffparse: misc code cleanups
...
Fix the launch examples for 1.0. Turn more logging into _OBJECT variants.
2014-01-09 15:14:19 +01:00
Thiago Santos
4e283dbb62
mpeg4videoparse: do not lose DISCONT flag if buffer isn't pushed
...
mpeg4videoparse might not push buffers while parsing. If those buffers
contain the DISCONT flag, it gets lost and downstream won't get any
buffer with the flag.
Fix it by adding the DISCONT to the next pushed buffer.
This makes backwards playback work.
2014-01-08 16:50:38 -03:00
Sebastian Dröge
63fee31a3f
h265parse: Allows hvc1 version 0 and fix reading of NAL count in codec_data
2014-01-06 14:52:54 +01:00
Sebastian Dröge
57c195eed8
h265parse: Fix some more debug output
...
And don't access invalid memory
2014-01-06 14:48:26 +01:00
Sebastian Dröge
84bd65b9bd
tsdemux: Add HEVC / h265 support
2014-01-06 13:54:40 +01:00
Stefan Sauer
f12705b2f5
aiffparse: typo fix in comment
2014-01-05 23:45:34 +01:00
Jan Schmidt
14a56b6964
mpegtsmux: Don't disrupt buffer state in the clip function
...
Collectpads assumes that it can pass any buffer to the clip function
for adjustment, some of which are artificially injected - so don't
adjust global timestamp tracking there. Instead, only adjust the
buffer timestamps and use them directly in the collection function.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=698748
2013-12-31 23:23:18 +11:00
Edward Hervey
46cb19404d
jpegparse: Remove unneeded call
...
'parse' is already provided by the parent variable
2013-12-30 13:28:52 +01:00
Sebastian Dröge
2d17cd62ef
adpcmenc: Properly set output format
...
Otherwise this will just error out if we only set caps on the srcpad.
2013-12-23 15:33:42 +01:00
Sebastian Dröge
30c93d504c
audiomixer: Also resync timestamps on the RESYNC flag
2013-12-19 21:59:09 +01:00
Todd Agulnick
ccd9a9cb89
vc1parse: Some compiler warning fixes to satisfy XCode compiler
...
https://bugzilla.gnome.org/show_bug.cgi?id=720513
2013-12-16 16:53:25 +01:00
Sebastian Dröge
a27d8d00a6
id3tag: Read image-description from the info structure, not the caps
2013-12-16 16:07:44 +01:00
Sebastian Dröge
2ce2017650
id3tag: Write image-type into the APIC tag
2013-12-16 11:51:00 +01:00
Sebastian Dröge
b3f198b67d
vc1parse: Post VIDEO_CODEC tag
2013-12-16 10:25:22 +01:00
Sebastian Dröge
3faa8920ce
pngparse: Post VIDEO_CODEC tag
2013-12-16 10:24:28 +01:00
Sebastian Dröge
6fbc101d19
mpegvideoparse: Use pbutils API to create the VIDEO_CODEC tag string
2013-12-16 10:22:24 +01:00
Sebastian Dröge
188b445fdd
mpeg4videoparse: Post VIDEO_CODEC tag
2013-12-16 10:21:00 +01:00
Sebastian Dröge
843de8ddf4
h265parse: Post VIDEO_CODEC tag
2013-12-16 10:19:36 +01:00
Sebastian Dröge
6934c7e2fc
h264parse: Post VIDEO_CODEC tag
2013-12-16 10:18:23 +01:00
Sebastian Dröge
bdfaf62a4a
h263parse: Post VIDEO_CODEC tag
2013-12-16 10:16:14 +01:00
Sebastian Dröge
e65b9b974a
diracparse: Post VIDEO_CODEC tag
2013-12-16 10:13:56 +01:00
Thiago Santos
821c3edca8
asfparse: add timestamps to packets
...
re-enable the code that adds timestamps to packets after baseparse's
port
2013-12-14 03:56:44 -03:00
Thiago Santos
04134671c9
asfparse: port to baseparse
...
asfparse was not really functional after the port to 1.0
Now porting it to baseparse to get it working again
2013-12-14 03:56:44 -03:00
Benjamin Gaignard
6cf1f629a3
dvbsuboverlay: fix reading of display window in display definition segment
...
From ETSI EN 300 743 V1.3.1 (2006-11) 7.2.1 Display definition segment specifictations
the parameters of display window are in this order: Xmin, Xmax, Ymin, Ymax.
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Signed-off-by: Pierre-Yves Mordret <pierre-yves.mordret@st.com>
https://bugzilla.gnome.org/show_bug.cgi?id=720382
2013-12-13 23:51:12 +00:00
Olivier Crête
4a5a1e568e
vmcndec: Add missing header file
...
Forgot to add header file to previou commit
2013-12-06 21:11:32 -05:00
Olivier Crête
60d3af6fbd
vmncdec: Port to GStreamer 1.0 API
2013-12-06 20:58:48 -05:00
Olivier Crête
5733a04766
stereo: Port to GStreamer 1.0 API
2013-12-06 17:58:13 -05:00
Olivier Crête
06ed17674e
jp2kdecimator: Port to GStreamer 1.0 API
2013-12-06 17:10:59 -05:00
Olivier Crête
0a970f1cd1
rtpasfpay: Use GstRTPBasePayload method to push buffer
...
This way the event is also pushed.
https://bugzilla.gnome.org/show_bug.cgi?id=719553
2013-12-05 16:51:00 -05:00
Sebastian Dröge
e83a9b62e7
adpcmdec: Require caps to be set before any data processing
2013-12-05 12:05:21 +01:00
Sebastian Dröge
08852721cb
sirendec: Require caps to be set before any data processing
2013-12-05 12:05:09 +01:00
Wim Taymans
9ac2cee2db
videoparsers: use ACCEPT_INTERSECT
...
We can also accept caps with missing fields.
2013-12-04 09:49:20 +01:00
Wim Taymans
e9dd2df3f4
videoparsers: remove fields from filter
...
Don't filter out the caps properties we can convert between when
proxying the getcaps query to the downstream peer pad.
2013-12-04 09:49:20 +01:00
Wim Taymans
d5a16bccac
videoparsers: refactor remove_fields in getcaps
2013-12-04 09:49:20 +01:00
Sebastian Dröge
9945e2bee6
geometrictransform: G_DEFINE_TYPE() already calls g_type_class_peek_parent() for us
2013-12-02 10:28:28 +01:00
Sebastian Dröge
426c26f708
geometrictransform: Remove empty GObject::finalize() implementations
...
Also don't use GST_DEBUG_FUNCPTR for GObject vfuncs
2013-12-02 10:26:32 +01:00
Antonio Ospite
8de96a2fbb
geometrictransform: Add a 2D perspective transform plugin
...
The perspective plugin applies a 2D perspective (also called projective)
transform to the frame buffer.
A perspective transform can be used for instance to perform keystone
correction when playing the content with a video projector.
https://bugzilla.gnome.org/show_bug.cgi?id=710810
2013-12-02 10:20:45 +01:00
Tim-Philipp Müller
c58dd9df73
asfmux: microoptimisation: avoid unnecessary gst_buffer_get_size() calls
2013-12-01 22:32:09 +00:00
Tim-Philipp Müller
a27b79cbe4
rtpasfpay: init rtp buffer fixing rtp packet creation
...
https://bugzilla.gnome.org/show_bug.cgi?id=719553
2013-11-29 13:23:40 +00:00
Tim-Philipp Müller
bc7989071f
asfmux: don't use buffer after giving away ownership
...
https://bugzilla.gnome.org/show_bug.cgi?id=719553
2013-11-29 13:22:56 +00:00
Lubosz Sarnecki
ef9d363dfe
pngparse: Don't try to set framerate if not from upstream
...
https://bugzilla.gnome.org/show_bug.cgi?id=715166
2013-11-28 17:54:35 -05:00
Sebastian Dröge
1b747bfecb
h264parse: Fix splitting of multiple NALU per buffer
...
Conversion to byte-stream/nal crashes without that because the
baseparse frame of all NALUs is finished for the first NALU, then
used again for parsing the second NALU. Just that now the buffer
of the frame is already gone. Instead we create temporary frames
for every NALU.
2013-11-28 15:10:16 +01:00
Jan Schmidt
d92b6f7995
dvdspu: Don't unmap an unreffed buffer
...
gst_dvd_spu_finish_spu_buf drops the reference to the current
buffer, so make sure to call gst_buffer_unmap before it.
2013-11-25 15:17:33 +11:00
Mark Nauwelaerts
db915754c1
dvdspu: pop new packet when invalid next command block
...
... to prevent staying stuck on current command block and busy looping.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=712219
2013-11-23 14:35:06 +01:00
Mark Nauwelaerts
fac0f1f668
mpeg4videoparse: accept VideoObjectLayer as start of frame and config
...
... which it deserves as much as VideoObject.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=667564
2013-11-23 11:29:23 +01:00
Jan Schmidt
c336f7642c
dvdspu: Handle vobsub packets smaller than 4 bytes
...
In particular, handle the case of an empty packet with size 0 bytes.
Partially fixes : #712643
2013-11-21 02:21:01 +11:00
Thibault Saunier
da4f9c18ec
mpegtsmux: Fix compilation when debug is disabled
2013-11-14 09:02:35 -03:00
Thibault Saunier
07ba033943
pngparse: Proxy upstream framerate on srcpad if avalaible
...
If the user sets it himself with capsfilter, the information should be
kept and transmitted downstream.
2013-11-13 17:56:09 -03:00
Thibault Saunier
b148c22cec
mpegtsmux: Properly add subtitle descriptor for DVb subpicture subtitles
...
We were adding an empty descriptor for them and it was not possible to
actually use them on muxed streams.
2013-11-13 17:56:07 -03:00
Mark Nauwelaerts
830a4aa7f4
mpegvideoparse: look beyond start code before leaping
...
In case more data than a start code alone is needed to decide whether
it ends a frame, arrange for more input data and decide when available.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=711627
2013-11-11 16:34:46 +01:00
Mark Nauwelaerts
a3d658915b
mpegvideoparse: tweak extension handling
2013-11-11 13:36:02 +01:00
Mark Nauwelaerts
b57981d15b
mpgegdemux: do not use pushed buffer in debug message
2013-11-11 13:36:02 +01:00
Matej Knopp
4930dc40cd
mpegvideoparse: check for same TSN only for interlaced streams (fixes unit test)
...
https://bugzilla.gnome.org/show_bug.cgi?id=711721
2013-11-09 15:34:51 +01:00
Sebastian Dröge
ed295e83c2
Revert "mpegvparse: Fix last start code position when input buffer is empty"
...
This reverts commit 7c23a6f23c
.
The fix was not complete, see discussion in
https://bugzilla.gnome.org/show_bug.cgi?id=711627
2013-11-09 09:43:56 +01:00
Greg Rutz
7c23a6f23c
mpegvparse: Fix last start code position when input buffer is empty
...
When the input buffer is empty and we need more data to determine
whether or not to terminate the previous frame, the last start code
location needs to be set to 4 bytes before the the current position
(size of start_code is 32-bits)
https://bugzilla.gnome.org/show_bug.cgi?id=711627
2013-11-07 19:10:39 +01:00
Sebastian Dröge
24ba7af5fa
audiomixer: Fix EOS handling if we have some pending data
2013-11-07 14:12:00 +01:00
Thiago Santos
e7e7417523
camerabin: Make sure video-done is post only when file is closed
...
Force filesink to null before posting video-done to make sure the
file was closed.
Had to do it from a separate thread to avoid calling state_change from
a sync message handler.
https://bugzilla.gnome.org/show_bug.cgi?id=709373
2013-11-06 22:13:54 -03:00
Sreerenj Balachandran
d844832ec3
videoparsers: add H.265 HEVC video parser element
...
https://bugzilla.gnome.org/show_bug.cgi?id=708438
2013-11-06 23:14:22 +00:00
Wim Taymans
c7e705dd13
aiffparse: fix seeking in push mode
2013-11-06 17:32:33 +01:00
Sebastian Dröge
fefda44161
audiomixer: Don't take channel mask in consideration in mono or stereo
...
This could cause negotiation to fail.
https://bugzilla.gnome.org/show_bug.cgi?id=708633
2013-11-06 15:50:08 +01:00
Sebastian Dröge
caeaade700
audiomixer: Add new element based on adder that does synchronized audio mixing
2013-11-06 15:35:38 +01:00
Sebastian Dröge
010fd8a471
yadif: Fix compiler warning caused by specifying const twice
...
yadif.c:49:24: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
DECLARE_ASM_CONST (16, const xmm_reg, pb_1) = {
^
yadif.c:33:50: note: expanded from macro 'DECLARE_ASM_CONST'
#define DECLARE_ASM_CONST(n,t,v) static const t __attribute__((used)) __attribute__ ((aligned (n))) v
^
yadif.c:52:24: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
DECLARE_ASM_CONST (16, const xmm_reg, pw_1) = {
^
yadif.c:33:50: note: expanded from macro 'DECLARE_ASM_CONST'
#define DECLARE_ASM_CONST(n,t,v) static const t __attribute__((used)) __attribute__ ((aligned (n)))
2013-11-01 10:41:16 +01:00
Sebastian Dröge
411cf48db7
yadif: Fix build with XCode
...
https://bugzilla.gnome.org/show_bug.cgi?id=710451
2013-11-01 10:40:06 +01:00
Sreerenj Balachandran
ab3f7d6096
h264parse: Remove the explicit PAR calculation based on VUI headers
...
The PAR calculation based on VUI headers is already doing by the
h264 codecparser and we does't need to duplicate those code.
https://bugzilla.gnome.org//show_bug.cgi?id=711009
2013-10-31 23:00:58 +01:00
Antonio Ospite
fa12af3d01
rotate: Fix angle property help text
...
The help text of the angle property was probably copied from the circle
plugin, fix it to mention the rotation determined by the angle.
https://bugzilla.gnome.org/show_bug.cgi?id=710391
2013-10-31 22:35:58 +01:00
Antonio Ospite
ae2231624c
geometrictransform: Fix setting black background for AYUV buffers
...
When the frame buffer is AYUV writing all zeros does not set it to
black, in YUV colorspace 0x10 is the black level for luminance and 0x80
is the black level for chrominance.
Fix setting the background to black when the out_frame format is AYUV;
in all the other supported formats zeroing the data with memset is still
the right thing to do.
https://bugzilla.gnome.org/show_bug.cgi?id=710392
2013-10-31 15:03:30 +01:00
Edward Hervey
0baac2ffb9
h264parse: Unify value setting
...
the initial par_n = par_d = 0; was always overwritten since the switch/case
handles all values
And remove the 0 case (it's the same handling as default)
2013-10-28 09:35:20 +01:00
Edward Hervey
77f254abb3
h264parse: Avoid ending up with undefined values
...
If caps aren't fixed, we'd end up with undefined values for format
and align.
2013-10-28 09:33:16 +01:00
Edward Hervey
64592da3e9
tsdemux: Demote GST_ERROR to GST_WARNING
...
discontinuities are not errors per-se and we handle them correctly.
2013-10-28 09:15:20 +01:00
Matthieu Bouron
e7687dbaa2
mpegtsmux: fix uninitialized variable warning
...
https://bugzilla.gnome.org/show_bug.cgi?id=710759
2013-10-25 12:26:23 +01:00
Matthieu Bouron
84fbc08c25
mpegtsdemux: fix uninitialized variable warning
...
https://bugzilla.gnome.org/show_bug.cgi?id=710759
2013-10-25 12:26:23 +01:00
Edward Hervey
70d83b323b
mpegtspacketizer: Skip packets with corrupted length
...
This is similar to what we do for packets with payload
2013-10-11 10:34:17 +02:00
Edward Hervey
5e50cd507c
tsdemux: Refactor language tag extraction
...
subtitling descriptor needs to be used with a different method to extract
language codes.
2013-10-11 10:29:20 +02:00
Sebastian Dröge
f0b5d84c54
speed: Fix some bytes-per-frame vs. bytes-per-sample mixups
...
Otherwise we will crash when handling multiple channels and
miscalculate timestamps.
https://bugzilla.gnome.org/show_bug.cgi?id=709734
2013-10-09 17:18:41 +02:00
Stefan Sauer
0d54e5857f
mpegpsdemux: log time format as name instead of the number
2013-10-08 09:05:36 +02:00
Jesper Larsen
b6d33e5ce4
tsdemux: Use mpegts-lib for ISO 639 language tags
...
https://bugzilla.gnome.org/show_bug.cgi?id=709180
2013-10-07 10:23:22 +02:00
Jesper Larsen
279bdef4ea
tsdemux: Return descriptor in get_descriptor
...
https://bugzilla.gnome.org/show_bug.cgi?id=709180
2013-10-07 10:23:22 +02:00
Matej Knopp
f489ae5d55
dvdspu: handle sticky dvd events
...
palette-changed events are now sticky.
https://bugzilla.gnome.org/show_bug.cgi?id=709454
2013-10-05 10:50:15 +01:00
Sebastian Dröge
4b5d560092
h264parse: Fix conversion to AVC if a SPS/PPS not from the first indizes is used
...
https://bugzilla.gnome.org/show_bug.cgi?id=707974
2013-10-03 13:26:06 +02:00