summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-12-09wip experiment with mulas4wlworkmulas4wlWim Taymans2-7/+96
2014-12-06video-converter: set bits and format after conversionWim Taymans1-0/+4
Update the current format, bits and pstride. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=741187
2014-12-05video-converter: free dither_linesThiago Santos1-0/+2
Avoid a memory leak
2014-12-05Bump ORC requirement to 4.22.1Nicolas Dufresne1-1/+1
We now depend on git commit f1cfa5, "orcc: allow setting custom backup function"
2014-12-05video-converter: use custom backup functionWim Taymans4-425/+42
Use the new orc feature to set a custom backup function.
2014-12-05video-converter: improve matrix8 functionWim Taymans2-34/+61
Avoid using a constant. Avoid doing saturated adds, results are not supposed to overflow here. Rework the C backup function a little in preparation for custom backup functions in ORC. See https://bugzilla.gnome.org/show_bug.cgi?id=741015
2014-12-05audiodecoder: Push pending events before sending EOS.Mathieu Duponchelle2-1/+38
Segments are added to the pending events, and pushing a segment is mandatory before sending EOS. + Adds a test. https://bugzilla.gnome.org/show_bug.cgi?id=740853
2014-12-05oggdemux: Fix seeking before the first frame.Mathieu Duponchelle1-0/+6
The previous code was setting keytarget to target to make sure the keyframe found for each pad was indeed before the target. Then if target == keytarget, it assumed a keyframe had been found, which was not the case if target was before the first frame in the file. This patch checks that a keyframe was indeed found, and if not seeks to 0, without bisecting again. Assuming default gst qa assets in $HOME/gst-validate seek_before_first_frame.scenario: description, seek=true, handles-states=true pause, playback-time=0.0 seek, playback-time=0.0, start=0.0, flags=accurate+flush seek, playback-time=0.0, start=0.01, flags=accurate+flush seek, playback-time=0.0, start=0.1, flags=accurate+flush GST_DEBUG=*theoradec*:2 gst-validate-1.0 playbin \ uri=file://$HOME/gst-validate/gst-qa-assets/medias/ogg/vorbis_theora.0.ogg \ --set-scenario seek_before_first_frame.scenario https://bugzilla.gnome.org/show_bug.cgi?id=741097
2014-12-05playbin: Only check sinks which are in >= GST_STATE_READYEdward Hervey1-19/+30
Otherwise we endup with bogus caps intersection (from the pad template caps and not from what the actual hardware/device supports) https://bugzilla.gnome.org/show_bug.cgi?id=738131
2014-12-03video-converter: fix chroma resampling checkWim Taymans1-9/+13
Decide if we need chroma resampling by checking if we have a progressive or interlaced chroma resampler.
2014-12-03video-converter: only do dithering when neededWim Taymans1-1/+2
Only do dithering when one of the quantizers is > 1.
2014-12-02audiorate: Use gst_util_uint64_scale_int_round()Chad1-9/+11
Using gst_util_uint64_scale_int() causes slight drift which accumulates over time. https://bugzilla.gnome.org/show_bug.cgi?id=741045
2014-12-02defs: update defs fileWim Taymans1-0/+4
2014-12-02videoconvert: add dither-bits optionWim Taymans2-3/+23
Fix the dither option. Add a new option to set the quantizer
2014-12-02video-scaler: add where orc functions could goWim Taymans1-9/+17
Add the disabled orc functions in #if 0 lines for when we can enable them.
2014-12-02video-converter: add ditheringWim Taymans3-115/+133
Use the new dither object to perform dithering. Add option to select dithering method. Add option to quantize to a specific value
2014-12-02video-converter: add palette when neededWim Taymans1-0/+9
2014-12-02video-dither: add video dither helper objectWim Taymans7-7/+1762
Add a new object that implements various dithering methods.
2014-12-01gst-play: do not set system's volume to 100% by defaultThiago Santos1-2/+3
Only change the volume if requested
2014-12-01alsa: Use EPIPE instead of ESTRPIPE if the latter does not existThomas Klausner2-0/+8
NetBSD does not have ESTRPIPE. https://bugzilla.gnome.org/show_bug.cgi?id=740952
2014-12-01Don't compare booleans for equality to TRUE and FALSESebastian Dröge21-33/+32
TRUE is 1, but every other non-zero value is also considered true. Comparing for equality with TRUE would only consider 1 but not the others.
2014-11-28encodebin: Add a way to disable caps renegotiation for output stream formatThibault Saunier5-2/+88
In some cases, the user might want the stream outputted by encodebin to be in the exact same format during all the stream. We should let the user specify when this is the case. This commit add some API in the GstEncodingProfile to determine whether the format can be renegotiated after the encoding started or not. API: gst_encoding_profile_set_allow_dynamic_output gst_encoding_profile_get_allow_dynamic_output https://bugzilla.gnome.org/show_bug.cgi?id=740214
2014-11-28tests: remove libs/video and videoconvert test from valgrind blacklistTim-Philipp Müller1-2/+0
Seem to work fine.
2014-11-28tests: don't run orc/* tests under valgrindTim-Philipp Müller1-1/+2
They just seem to blow up for some reason that needs investigating.
2014-11-28tagmux: fix criticals when there are no tags at allTim-Philipp Müller1-0/+3
2014-11-28test-reverseplay: Use uridecodebin for inputJan Schmidt1-17/+19
Work with any installed URI handler Add some more debug output
2014-11-28video-frame: Mapping a frame with inconsistent values between GstVideoMeta ↵Sebastian Dröge1-1/+7
and GstVideoInfo is a bug It will cause the frame to be initialized with inconsistent values that then later can cause crashes or any other kind of interesting and hard to debug bugs.
2014-11-27Automatic update of common submoduleEdward Hervey1-0/+0
From 7bb2bce to ef1ffdc
2014-11-27video-blend: make use of x offset when unpacking overlay image pixelsTim-Philipp Müller1-3/+1
Now that it's implemented we can use it, which is a minor optimisation when the image to overlay gets cropped on the left.
2014-11-27video-format: sprinkle some 'restrict' keywords in pack/unpack functionsTim-Philipp Müller1-214/+226
In cases where we just call orc directly this is somewhat superfluous, but let's do it anyway for consistency. In other cases the compiler can hopefully use this to optimise memory access a little.
2014-11-27video-format: handle x offset in unpackWim Taymans1-314/+623
Add support for x offset in almost all unpack methods. Fix naming of source and dest pixels. Add const to source pixels.
2014-11-27video-format: improve unpack i420Wim Taymans1-8/+1
unpack_i420 does not need extra code to handle odd widths, the orc code already handles it fine.
2014-11-27videoscale: use old property nameWim Taymans1-1/+1
Unbreak ABI by changing to the old property name again. https://bugzilla.gnome.org/show_bug.cgi?id=740798
2014-11-26decodebin: Analyze source pad before setting to PAUSED for 'simple demuxers'Thibault Saunier1-2/+37
Before we were setting them to PAUSED and (much) later connecting to their source pad caps notify signal. There was a race where that demuxer was pushing a caps and later a buffer on its source pad when we were not even connected to its source pad caps notify signal leading to decodebin missing the information and not keeping on building the pipeline on CAPS event thus the demuxer was posting an ERROR (not linked) message on the bus. This need to be done for 'simple demuxers' because those have one ALWAYS source pad, not like usual demuxers that have several dynamic source pads. A "simple demuxer" is a demuxer that has one and only one ALWAYS source pad. https://bugzilla.gnome.org/show_bug.cgi?id=740693
2014-11-26decodebin2: Take STREAM_LOCK before sending sticky events.Mathieu Duponchelle1-0/+11
There was a race where: 1) we would put the element to PAUSED 2) It would get data sent to it from upstream 3) It would thus send caps 3) caps_notify_cb would continue autoplugging 4) caps would flow downstream, the last pad would get exposed 5) we were still not done sending the sticky events Taking the stream lock on the new element's sinkpad and only releasing it when sticky events have all been sent prevents the caps from reaching the source pad of the element before we're all set. https://bugzilla.gnome.org/show_bug.cgi?id=740694
2014-11-26typefindfunctions: detect mp4 common file format variantTim-Philipp Müller1-0/+6
Used e.g. by UltraViolet.
2014-11-25alsasrc: debug message fixesTim-Philipp Müller1-3/+3
In the same vein as 74e9640a.
2014-11-25video-scale: combine adds when max_taps equals combine sizeWim Taymans1-2/+2
When the amount of pixels/lines matches the amount we can combine, combine the adds and multiplies and do the scale as a separate operation.
2014-11-25video-scaler: combine scaling operationsWim Taymans4-13/+1937
Combine add and scale of multiple lines/pixels to reduce the amount of read and writes to temporary memory.
2014-11-25timeoverlay: add "time-line" propertyTim-Philipp Müller2-6/+110
So we can also show running time or stream time, not just the buffer time stamps.
2014-11-25videoscale: add property to do scaling after gamma-decodeWim Taymans2-2/+27
2014-11-25videoscale: add more scaling filtersWim Taymans2-13/+76
Adjust the filter parameters so that they use the same number of taps and method as the old ones. Add some new filters
2014-11-25video-resampler: remove printWim Taymans1-2/+0
2014-11-25video-resampler: improve variable tapsWim Taymans1-65/+40
Improve quality of variable taps on all methods by reusing the lanczos parameters where possible.
2014-11-25video-resampler: Fix lanczos parameters for variable tapsWim Taymans1-12/+16
when using variable taps and when we are limiting the number of taps, recalculate the lanczos parameters to match the clamped value. Set the max number of taps to 128
2014-11-25playsink: Reset mute property of the sink to playsink's value when setting ↵Andrei Sarakeev1-0/+2
up the audio chain Otherwise the following can happen: 1. set mute=true 2. play media1 (Ok) 3. play media without audio (audiochain removed) 4. play media2 (audiochain created, mute=*false*) https://bugzilla.gnome.org/show_bug.cgi?id=740675
2014-11-25discoverer: fix typo in header fileAndrei Sarakeev1-1/+1
https://bugzilla.gnome.org/show_bug.cgi?id=740675
2014-11-25pbutils: add description for audio/x-audibleTim-Philipp Müller1-0/+1
2014-11-25typefind: improve 'audible' audio typefinder a littleTim-Philipp Müller1-5/+11
Don't return NEARLY_CERTAIN just based on 4 bytes. Also change media type to audio/x-audible. https://bugzilla.gnome.org/show_bug.cgi?id=715050
2014-11-25typefindfunctions: add audio/audible typefinderJonathan Matthew1-0/+26
https://bugzilla.gnome.org/show_bug.cgi?id=715050