Vivia Nikolaidou
9e4e447ad4
avwait: Rename timecodewait to avwait, add modes
...
Renamed timecodewait to avwait. Added running-time and video-first
modes. Default mode is timecode (the previous behaviour).
https://bugzilla.gnome.org/show_bug.cgi?id=777741
2017-01-26 16:21:55 +02:00
Sebastian Dröge
046aad8c1b
tsdemux: Set caps/tags in the GstStream object before pushing the stream-start event
...
Otherwise downstream will get a more or less empty GstStream although we
already know a lot about it at this point.
2017-01-24 23:11:08 +02:00
Sebastian Dröge
636cb4ce32
tsdemux: Don't leak pad name and template for Opus
...
It's set again (the same way) further below, overwriting the previously
allocated memory without freeing.
https://bugzilla.gnome.org/show_bug.cgi?id=777533
2017-01-20 14:34:10 +02:00
Sebastian Dröge
08723e68df
mxfdemux: Set stream tags to NULL after unreffing
...
Otherwise we might try to unref them a second time a little bit later.
https://bugzilla.gnome.org/show_bug.cgi?id=777503
2017-01-20 07:51:09 +02:00
Jan Schmidt
17430e7b82
dvdspu: Handle vob display rect starting on an odd line
...
DVDs always have subpictures that start on an even Y
coordinate, but gstspu does more generic vobsubs these
days, so handle ones that start on an odd vertical position.
https://bugzilla.gnome.org/show_bug.cgi?id=777400
2017-01-18 13:31:24 +11:00
Matt Staples
e81e029aa2
jpegparse: Chain up to parent class' sink event handler
...
Call base class's sink_event handler after handling GST_EVENT_FLUSH_STOP
event, so that base class doesn't get stuck in a 'flushing' state
https://bugzilla.gnome.org/show_bug.cgi?id=777097
2017-01-10 17:38:44 +02:00
Vivia Nikolaidou
b16cd484bf
timecodestamper: Post element message with current timecode
...
timecodestamper will post an element message which contains the current
timecode it just stamped. If a timecode was already found and not
replaced, it will still post it in a message.
https://bugzilla.gnome.org/show_bug.cgi?id=777048
2017-01-09 18:52:24 +02:00
Garima Gaur
81b0a14d69
Fix some caps leaks in pad template creation code
...
gst_pad_template_new() does not take ownership of
the caps passed to it, so we need to unref the caps.
https://bugzilla.gnome.org/show_bug.cgi?id=776790
https://bugzilla.gnome.org/show_bug.cgi?id=776787
2017-01-03 10:02:58 +00:00
Fabrice Bellet
aac4c10d0e
autoconvert: fix a reconfigure event leak
...
https://bugzilla.gnome.org/show_bug.cgi?id=776726
2017-01-02 19:52:33 -03:00
Nicola Murino
92b471b511
videoanalyse: update docs
...
https://bugzilla.gnome.org/show_bug.cgi?id=746018
2016-12-31 10:51:04 +00:00
Mark Nauwelaerts
dc970791b8
mpeg4videoparse: determine intra of frame at frame parse time
...
... rather than when determining when to end the frame.
The opportunity to do so might not come when forced to drain,
and it seems nicer anyway to do so at parse wrapup time.
2016-12-28 13:54:24 +01:00
Sebastian Dröge
5cff156f2c
audiobuffersplit: Don't try to output anything if samples_per_buffer == 0
...
This happens if we had no CAPS event yet but e.g. got an EOS event. We
would then try to output a 0-sized buffer, but getting that from the
adapter will give an assertion, return NULL and then crash.
2016-12-23 13:27:42 +02:00
Sebastian Dröge
9b5de05399
Remove various unported plugins
...
If they were not ported after 4+ years it seems unlikely that anybody is
ever going to need them again. They're still in the GIT history if
needed.
https://bugzilla.gnome.org/show_bug.cgi?id=774530
2016-12-21 11:17:11 +02:00
Garima Gaur
0fdd4e2539
gst: Fix memory leaks in usage of gst_element_get_request_pad() API
...
The return value has to be unreffed at some point.
https://bugzilla.gnome.org/show_bug.cgi?id=776334
2016-12-21 10:28:12 +02:00
Graham Leggett
b5791efcc0
tsdemux: Don't leak a taglist if a taglist has already been created
...
https://bugzilla.gnome.org/show_bug.cgi?id=776244
2016-12-19 11:02:08 +02:00
Daniel Shahaf
a38887375f
mirror: Fix documentation for the mirror mode
...
Using the wrong enum there causes it to be randomly mixed with the docs
of the other enums.
https://bugs.debian.org/848297
2016-12-16 13:26:50 +02:00
Sebastian Dröge
951ddc6ece
compositor: Reject multiview video
...
Compositor does not support it currently and it needs special support
for handling this correctly, and is rather non-trivial to implement for
all formats.
2016-12-14 15:36:14 +02:00
Sebastian Dröge
807e23118b
vmncdec: Sanity-check rectangle sizes a bit more thorough
...
The x/y coordinates could already be bigger than the configured
width/height, and adding the rectangle width/height could cause an
overflow.
2016-12-06 07:59:51 +02:00
Tim-Philipp Müller
af706826a6
rawvideoparse: fix typos in property description
2016-12-05 18:17:30 +00:00
Vivia Nikolaidou
e27fc343cc
interlace: Writing field-order into the src caps
...
Writing top-field-first vs bottom-field-first into the src caps
https://bugzilla.gnome.org/show_bug.cgi?id=775409
2016-11-30 18:50:41 +02:00
Garima Gaur
aa08be43c7
gst: Fix caps leak
...
https://bugzilla.gnome.org/show_bug.cgi?id=775072
2016-11-30 09:59:08 +02:00
Sebastian Dröge
423e4593aa
rawparse: Whitespace cleanup
2016-11-28 14:26:17 +02:00
Tim-Philipp Müller
de4bb6e1d4
dataurisrc: remove plugin, moved to core
...
https://bugzilla.gnome.org/show_bug.cgi?id=774527
2016-11-28 11:26:50 +00:00
Sebastian Dröge
b0a6b5eac8
tsdemux: Post an error message on the bus if we activated a program without pads
...
Otherwise decodebin and applications are going to wait forever for pads
to appear, which is never going to happen.
Happens on this stream, which probably just need support for it added:
https://samples.mplayerhq.hu/3D/AVC_codec_in_m2ts_not_recognized/AVC_codec_not_recognized_right_video_sample.m2ts
2016-11-28 10:30:11 +02:00
Sebastian Dröge
2f87392ee7
rawbaseparse: Fix output buffer size trimming
...
For frame->buffer, baseparse is doing that automatically for us. For
frame->output_buffer it doesn't and assumes that the subclass is already
doing that. Consistency!
2016-11-27 12:40:53 +02:00
Sebastian Dröge
5a6b121d5b
rawparse: Properly align raw audio/video output buffers
...
That is, aligned to the basic type for audio and to 32 bytes for video.
Fixes crashes if the raw buffers are passed to SIMD processing functions.
https://bugzilla.gnome.org/show_bug.cgi?id=774428
2016-11-27 11:45:33 +02:00
Sebastian Dröge
88e060743a
mxfdemux: Post an error message if we got EOS before having any source pads
...
Otherwise, sending an EOS event has no effect and the application waits
forever for something to happen.
2016-11-26 12:28:57 +02:00
Sebastian Dröge
55043aff12
h264parse: Fix indentation
2016-11-26 12:16:58 +02:00
Sebastian Dröge
cb4ccecc97
h265parse: Fix assertion when encountering an invalid NALU
...
Error out properly instead.
https://bugzilla.gnome.org/show_bug.cgi?id=775130
2016-11-26 12:16:58 +02:00
Sebastian Dröge
47bf425cba
h264parse: Fix assertion when encountering an invalid NALU
...
Error out properly instead.
https://bugzilla.gnome.org/show_bug.cgi?id=775130
2016-11-26 12:16:58 +02:00
Sebastian Dröge
d3b45a145f
mxfdemux: Fix up another size check and prevent allocating too much memory
2016-11-25 16:46:45 +02:00
Sebastian Dröge
31a2f2d5a1
mxfdemux: Handle zero-sized KLV items better and don't assert on them
2016-11-25 15:59:44 +02:00
Sebastian Dröge
73e02f4553
mxfdemux: Fix various logic errors in error handling of footer partition parsing
2016-11-25 15:53:50 +02:00
Sebastian Dröge
9ff1ac59f3
mxfdemux: Don't try parsing empty metadata items
2016-11-25 15:53:36 +02:00
Sebastian Dröge
329fe3eea4
mxfmetadata: Add missing NULL check
2016-11-25 15:30:39 +02:00
Sebastian Dröge
743d7bd7ec
mxf: Remove mxfdms1.[ch] from the build for now
...
It's completely unused currently but might be used in the future.
2016-11-24 23:40:45 +02:00
Sebastian Dröge
b5bb6e3b38
mxfdemux: Add various missing bounds checks, NULL checks and integer overflow protection for error cases
2016-11-24 23:40:21 +02:00
Sebastian Dröge
166c5333ca
timecodestamper: Remove all existing timecode metas if requested to override existing
2016-11-24 14:42:45 +02:00
Edward Hervey
a39dc142e6
mpegtspacketizer: Don't add existing values to group
...
If the last value is already identical, there is no need in adding it
yet-another-time
2016-11-24 11:15:22 +01:00
Sebastian Dröge
0acb3d87bb
audiobuffersplit: New element that splits raw audio buffers into equal-sized buffers
...
This is useful e.g. if audio buffers should be exactly the duration of a
video frame, or if a audio buffers should never be too large because of
latency constraints.
The element is taking a fractional buffer duration, to allow working
with e.g. 1001/30000 as output duration and it accumulates rounding
errors in the buffer durations and compensates for them by making some
buffers one sample larger than the others.
https://bugzilla.gnome.org/show_bug.cgi?id=774689
2016-11-23 18:18:46 +02:00
Sebastian Dröge
43736e5c37
h265parse: Ensure codec_data has the required size when reading number of NAL arrays
...
https://bugzilla.gnome.org/show_bug.cgi?id=774896
2016-11-23 10:53:46 +02:00
Sebastian Dröge
1dbfef93d6
h264parse: Ensure codec_data has the required size when reading number of SPS
...
https://bugzilla.gnome.org/show_bug.cgi?id=774896
2016-11-23 10:53:40 +02:00
Sebastian Dröge
ee300b6c33
mpegtspacketizer: Reset values before parsing each section
2016-11-22 13:00:21 +02:00
Sebastian Dröge
ab4bb225bd
mpegtspacketizer: Make sure in all cases that we have enough data left for reading a section start
...
In some cases we ended up parsing sections without.
2016-11-22 12:56:03 +02:00
Sebastian Dröge
0f657cec07
vc1parse: Mark pad as needing reconfiguration again if it failed
...
And return FLUSHING instead of NOT_NEGOTIATED on flushing pads.
https://bugzilla.gnome.org/show_bug.cgi?id=774623
2016-11-18 12:22:44 +02:00
Thibault Saunier
ca3020cf46
videomeasure: Remove old unported videomeasure plugin as it is now replaced by IQA
2016-11-17 13:25:40 -03:00
Sebastian Dröge
4cb1bcf142
vmncdec: Sanity-check width/height before using it
...
We will allocate a screen area of width*height*bpp bytes, however this
calculation can easily overflow if too high width or height are given
inside the stream. Nonetheless we would just assume that enough memory
was allocated, try to fill it and overwrite as much memory as wanted.
Also allocate the screen area filled with zeroes to ensure that we start
with full-black and not any random (or not so random) data.
https://scarybeastsecurity.blogspot.gr/2016/11/0day-poc-risky-design-decisions-in.html
Ideally we should just remove this plugin in favour of the one in
gst-libav, which generally seems to be of better code quality.
https://bugzilla.gnome.org/show_bug.cgi?id=774533
2016-11-16 20:41:39 +02:00
Sebastian Dröge
b957c336e5
smoothwave: Remove empty directory
2016-11-16 16:45:27 +02:00
Sebastian Dröge
734d98eaf1
real: Remove empty directory
2016-11-16 16:33:41 +02:00
Sebastian Dröge
ca6e47e63b
mpeg1sys: Remove obsolete, empty directory that only contains a meson.build
2016-11-16 16:15:34 +02:00