summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* video-converter: Fix crashes in fast-paths when converting interlaced ↵1.8Sebastian Dröge2017-01-161-27/+87
| | | | | | | | | | | formats with different vertical subsampling E.g. the following pipelines fail because chroma values after the last line are read (note: 486 % 4 == 2): gst-launch-1.0 videotestsrc ! "video/x-raw,interlace-mode=interleaved,width=720,height=486,format=UYVY" ! videoconvert ! "video/x-raw,format=I420" ! fakesink gst-launch-1.0 videotestsrc ! "video/x-raw,interlace-mode=interleaved,width=720,height=486,format=I420" ! videoconvert ! "video/x-raw,format=UYVY" ! fakesink gst-launch-1.0 videotestsrc ! "video/x-raw,interlace-mode=interleaved,width=720,height=486,format=I420" ! videoconvert ! "video/x-raw,format=AYUV" ! fakesink
* id3v2: Add missing overrun check for frame sizesJan Schmidt2016-12-091-2/+8
| | | | | | | | When frames claim to have a footer, ensure they are large enough to contain one to avoid an invalid read overrun. Spotted by Joshua Yabut
* typefind: bounds check windows ico detectionMatthew Waters2016-11-231-0/+2
| | | | | | Fixes out of bounds read https://bugzilla.gnome.org/show_bug.cgi?id=774902
* riff: Extract bpp from the strf for vnmcSebastian Dröge2016-11-191-0/+2
| | | | Needed for avdec_vnmc to work.
* audio: don't deref NULLStefan Sauer2016-10-251-7/+11
| | | | | | gst_buffer_copy_region() can return NULL when the buffer meta-data is invalid. See https://bugzilla.gnome.org/show_bug.cgi?id=772200
* audioencoder: Plug buffer-leakHavard Graff2016-10-251-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=773107
* audiotestsrc: Fix segment boundary checking for reverse playbackSebastian Dröge2016-09-301-2/+14
|
* audiotestsrc: Don't adjust segment time in seek handlerSebastian Dröge2016-09-301-10/+0
| | | | | basesrc already did that very well for us, adjusting it again on top of that just breaks various non-standard seeks.
* streamsynchronizer: Correctly calculate group start times in reverse ↵Sebastian Dröge2016-09-301-9/+27
| | | | | | | | | | playback mode We have to calculate from the segment.stop, not the segment.start, as playback goes from stop to start. This fix works around another race condition in streamsynchronizer in my testcase. See https://bugzilla.gnome.org/show_bug.cgi?id=771479
* video-scaler: take number of bits into account when copyingWim Taymans2016-09-221-18/+18
| | | | | | Copy twice the amount of pixels for 16 bits formats. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=747225
* video-converter: add more fastpaths for I420 -> RGBWim Taymans2016-09-224-2/+648
| | | | | Use the I420->BGRA and a new I420->ARGB to speed up any I420 to RGB operation.
* pbutils: store missing-plugin structure in current_info->misc againJonathan Matthew2016-09-041-0/+1
| | | | | | | This allows gst_discoverer_info_get_misc to work again, until it finally gets removed. https://bugzilla.gnome.org/show_bug.cgi?id=770643
* audioresample: Don't produce more data than expected in GAP modeMaik Scholz2016-08-311-0/+5
| | | | | | | | | Due to rounding errors in combination with rate changes, we might otherwise end up producing too much and run into an assertion later. This is not a problem with the new audioresample in GIT master. https://bugzilla.gnome.org/show_bug.cgi?id=768836
* Release 1.8.31.8.3Sebastian Dröge2016-08-1934-228/+406
|
* Update .po filesSebastian Dröge2016-08-1938-38/+38
|
* oggdemux: remove eos avoidance workaroundVincent Penquerc'h2016-08-161-15/+2
| | | | | | | | | | This workaround tried to avoid an EOS event when seeking to the end of an Ogg stream in order to find its duration. At some point, an EOS event there would cause any queue2 upstream to pause and not restart on a seek back to the beginning. This now appears to not be the case anymore, and so the workaround can be removed. https://bugzilla.gnome.org/show_bug.cgi?id=767689
* g-i: pass compiler env to g-ir-scannerTim-Philipp Müller2016-08-1311-0/+11
| | | | | It's what introspection.mak does as well. Should fix spurious build failures on gnome-continuous.
* oggdemux: fix unknown duration playing Ogg over HTTPVincent Penquerc'h2016-07-251-1/+3
| | | | | | | | | | | If the duration is not known from the chain, it might be known by the startup seek. This fixes failure to seek. Merged with a patch from Tim-Philipp Müller <tim@centricular.com> https://bugzilla.gnome.org/show_bug.cgi?id=768991
* xvimageallocator: const correctness in gst_xvimage_allocator_alloc().Duncan Palmer2016-07-252-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=767712
* xvimagesink: only error out if the allocated memory is too smallTim-Philipp Müller2016-07-251-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=767712
* xvimagesink: error out on buffer size sanity check failure.Duncan Palmer2016-07-253-42/+56
| | | | | | | | | | | If sanity checks on the buffer size allocated by XvShmCreateImage() fail, call on g_set_error(), rather than just logging a warning, as this failure is fatal. Add a sanity check on buffer size when the video format is RGB. This adds to existing checks on various YUV pixel formats. https://bugzilla.gnome.org/show_bug.cgi?id=767712
* encoding-profile: Remove some more fields from the caps when creating from ↵Sebastian Dröge2016-07-251-1/+10
| | | | | | | | | | discoverer info parsed, framed, stream-format and alignment are only relevant for parsers and should not matter here. We still want to be able to use an encoder that can only output byte-stream if the input was avc. https://bugzilla.gnome.org/show_bug.cgi?id=768566
* missing-plugins: Remove some other fields when cleaning up capsSebastian Dröge2016-07-251-0/+7
| | | | | | | | | | Caps are cleaned up for missing plugins, and for creating encoding profiles and caps descriptions. Fields like streamheader, parsed, framed, stream-format and alignment are not relevant here. The last ones all because a parser will take care of them. https://bugzilla.gnome.org/show_bug.cgi?id=768566
* rtspconnection: Fix potential deadlock caused by blocking read foreverSergio Torres Soldado2016-07-251-0/+2
| | | | | | | Reset the connection "may_cancel" property to avoid a potential deadlock if there is no data to read and the socket stays blocked forever. https://bugzilla.gnome.org/show_bug.cgi?id=768249
* videodecoder: fix criticals fixating a non existent fieldSebastian Dröge2016-07-251-6/+19
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=766970
* audioencoder: Protect samples_in/bytes_out and audio info with object lockSebastian Dröge2016-07-251-5/+23
| | | | It might cause invalid calculations during the CONVERT query otherwise.
* audiodecoder: Protect samples_in/bytes_out and audio info with object lockSebastian Dröge2016-07-251-7/+34
| | | | It might cause invalid calculations during the CONVERT query otherwise.
* audioencoder/decoder: Move encoded audio conversion function to a common placeSebastian Dröge2016-07-254-144/+78
| | | | No need to duplicate this non-trivial function.
* audiodecoder: fix criticals fixating a non existent fieldVincent Penquerc'h2016-07-251-4/+12
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=766970
* videodecoder: Use the object lock to protect bytes/time trackingSebastian Dröge2016-07-251-3/+13
| | | | | | | | And especially don't use the stream lock for that, as otherwise non-serialized queries (CONVERT) will cause the stream lock to be taken and easily causes the application to deadlock. https://bugzilla.gnome.org/show_bug.cgi?id=768361
* videoencoder/decoder: Move conversion utility functions to a common header ↵Sebastian Dröge2016-07-254-168/+149
| | | | and use consistently in encoder/decoder
* videoencoder: Use the object lock to protect bytes/time trackingSebastian Dröge2016-07-251-0/+8
|
* tagdemux: fix handling of very short files in push modeTim-Philipp Müller2016-07-041-8/+18
| | | | | | | | | | | By default we'll wait for a certain amount of data before attempting typefinding. However, if the stream is fairly short, we might get EOS before we ever attempted any typefinding, so at this point we should force typefinding and output any pending data if we manage to detect the type. https://bugzilla.gnome.org//show_bug.cgi?id=768178
* tagdemux: fix erroring out if we reach EOS without detecting typeTim-Philipp Müller2016-07-041-2/+1
| | | | | | | | | | | | In 0.10 the source pad was a dynamic pad that was only added once the type had been detected, but in 1.x it's an always source pad, so checking whether it's still NULL won't work to detect if the type has been detected. Makes tagdemux error out when we get EOS but haven't managed to identify the format of the data after the tag. https://bugzilla.gnome.org//show_bug.cgi?id=768178
* audioconvert: Handle fallback channel mask for mono correctlySebastian Dröge2016-07-042-4/+4
| | | | | | It's 0 and no mask should be set for mono at all. https://bugzilla.gnome.org/show_bug.cgi?id=757472
* playsink: Force STEP events on the video-sink for GST_FORMAT_BUFFERSSebastian Dröge2016-07-041-5/+8
| | | | It does not make much sense for audio sinks.
* playsink: Don't send another step event to the audio-sink if we got ↵Sebastian Dröge2016-07-041-1/+3
| | | | | | | step-done from there Otherwise we would end up with a deadlock as the audio-sink emits step-done from its streaming thread.
* discoverer: Only allow serializing OK discoverer infos to GVariantsSebastian Dröge2016-06-272-1/+6
| | | | | | | They will be incomplete otherwise and we can't generate the full serialized information, and instead will crash somewhere on the way. https://bugzilla.gnome.org/show_bug.cgi?id=767859
* Release 1.8.21.8.2Sebastian Dröge2016-06-0935-67/+364
|
* Update .po filesSebastian Dröge2016-06-0938-38/+38
|
* po: Update translationsSebastian Dröge2016-06-093-250/+256
|
* video-color: Fix colorimetry IS_UNKNOWNStian Selnes2016-06-022-3/+60
| | | | | | | Fix issue with colorimetry default indicies not being in sync with the actual table causing IS_UNKNOWN() to sometimes fail. https://bugzilla.gnome.org/show_bug.cgi?id=767163
* opusdec: Use GST_AUDIO_DECODER_ERROROlivier Crête2016-05-201-2/+5
| | | | | | This way, the first invalid stream won't break all decoding. https://bugzilla.gnome.org/show_bug.cgi?id=766265
* videosink: ensure the debug category is always initializedGuillaume Desmottes2016-05-201-35/+21
| | | | | | | | | | | gst_video_sink_center_rect() can be called without a GstVideoSink having been instantiated so we can't relly on the video sink class_init function to init the category. Fix a warning when running: GST_CHECKS=test_video_center_rect GST_DEBUG=6 G_DEBUG=fatal_warnings make libs/video.check-norepeat https://bugzilla.gnome.org/show_bug.cgi?id=766510
* playbin: fix suburidecodebin leakGuillaume Desmottes2016-05-201-0/+1
| | | | | | | | | | We take a ref before removing which was never freeded. The element is still alive anyway because the group has its own ref as well. Fix a leak with the 'test_suburi_error_wrongproto' test. https://bugzilla.gnome.org/show_bug.cgi?id=766515
* sdp: parse sdp attributes in case that sdp message doesn't contain mikey messageHyunjun Ko2016-05-111-8/+18
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=766204
* encoding-profile: Fix caps memory leakSebastian Dröge2016-05-041-0/+1
|
* encoding-profile: Fail to create encoding profile from discoverer info if no ↵Sebastian Dröge2016-05-041-1/+12
| | | | | | streams could be added https://bugzilla.gnome.org/show_bug.cgi?id=765708
* encoding-profile: Recurse into nested container profiles and only add the ↵Sebastian Dröge2016-05-041-0/+15
| | | | | | | | | | final audio/video streams If we e.g. have AVI with DV container with video/audio inside the DV container, we can't handle this at this point with an encoding profile. Instead of erroring out, flatten the container hierarchy. https://bugzilla.gnome.org/show_bug.cgi?id=765708
* encoding-profile: Move adding of each stream to a helper functionSebastian Dröge2016-05-041-32/+42
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=765708