Arun Raghavan
35f3bea558
pulsesink: Update segdone periodically
...
This makes sure that we update segdone based on the read index received
during latency updates. As the comment notes, we make some compromises
to deal with the fact that segdone is a segment multiple, while the read
index offers finer granularity. The updates are also not very often
(100ms since that is how often automatic timing updates are provided).
All this is required for the baseaudiosink sample alignment code to work
at all.
https://bugzilla.gnome.org/show_bug.cgi?id=694257
2013-02-23 09:26:19 +05:30
Tim-Philipp Müller
048d256041
souphttpsrc: set SOUP_VERSION_{MIN_REQUIRED,MAX_ALLOWED} to suppress deprecations with newer versions
...
https://bugzilla.gnome.org/show_bug.cgi?id=693911
2013-02-16 16:49:22 +00:00
Tim-Philipp Müller
a3e1db1292
soup: use default proxy resolver instead of deprecated GNOME proxy resolver
...
Apparently there's no reason to use it any longer. Drop libsoup-gnome
dependency while at it, now that we don't need anything from it any
more (it only consists entirely of deprecated API now anyways).
https://bugzilla.gnome.org/show_bug.cgi?id=693911
2013-02-16 15:48:06 +00:00
Tim-Philipp Müller
24cdefcb75
jpegdec: remove sof-marker from template caps for now
...
Now that the subset check actually works, this breaks
things with demuxers that don't put a "sof-marker"
in their jpeg caps, and we don't have a good parser
to plug either yet.
2013-02-14 14:15:34 +00:00
Sebastian Dröge
af5c3fe312
jpegenc: Put the SOF marker into the caps
2013-02-13 12:32:10 +01:00
Tim-Philipp Müller
0c9b039c22
pulsesink: don't error out if pa_stream_proplist_update() with new tags fails
...
Shouldn't really happen these days, but if it does, it's not really
a problem either.
https://bugzilla.gnome.org/show_bug.cgi?id=656068
2013-01-19 13:27:48 +00:00
Norbert Waschbuesch
c00b142f44
souphttpsrc: error out properly when receiving data along with an error status
...
When receiving an error code from the http server, such as 404,
data might be sent along with it, like a web page. We don't want
to output that data in this case, and we also want to pass the
FLOW_ERROR return back to the base class, so it can stop properly.
https://bugzilla.gnome.org/show_bug.cgi?id=678429
2013-01-01 19:11:42 +00:00
Tim-Philipp Müller
e3dbf9e256
cairo: remove old cairo-based text renderering element
...
They haven't worked well or at all in a very long time
and were rather bit-rotten, and there's no need for them
any more.
2013-01-01 12:12:02 +00:00
Tim-Philipp Müller
08702be68f
cairo: port cairooverlay to 0.11
...
The other elements are not that interesting now that we're
using pangocairo in the pango plugin, and should probably
just be removed.
2013-01-01 11:52:09 +00:00
Wim Taymans
441cfeb2ce
1394clock: mark our clock type as OTHER
2012-12-20 16:44:24 +01:00
Wim Taymans
30f5125fca
jpegenc: pass flowreturn upstream
2012-12-20 15:55:02 +01:00
Thijs Vermeir
9b8a3a40ce
wavpack: use appropriate printf format for gsize
2012-12-18 16:02:09 +01:00
Thijs Vermeir
2bf798b11e
taglib: use appropriate printf format for gsize
2012-12-18 16:02:09 +01:00
Thijs Vermeir
8e9dc9491a
gdkpixbuf: use appropriate printf format for gsize
2012-12-18 16:02:09 +01:00
Sebastian Dröge
0726b71ceb
ext/sys: Fix some compilation errors caused by circular includes
2012-12-12 17:35:04 +00:00
Tim-Philipp Müller
81b9e197df
shout2send: accept audio/webm as well as video/webm
...
https://bugzilla.gnome.org/show_bug.cgi?id=689336
2012-11-30 17:23:23 +00:00
Sebastian Dröge
9ad88d265c
vp8enc: Don't leak GstVideoCodecFrames that cause the creation of invisible frames
...
Fixes bug #682714 .
2012-11-12 13:01:23 +01:00
Sebastian Dröge
5e9adc4936
pulse: Use new GType for GThread instead of just G_TYPE_POINTER
2012-11-12 11:47:43 +01:00
Sebastian Dröge
63fd591044
pngdec: Actually use the stop() vfunc implementation
2012-11-12 10:44:01 +01:00
Sebastian Dröge
dc5db0e980
vp8dec: Fix last commit
2012-11-12 10:31:59 +01:00
Sebastian Dröge
f37fca4e00
pngdec: Keep the input state in reset()
...
It's still valid after a flush and we might not get a new one.
2012-11-12 10:11:32 +01:00
Sebastian Dröge
ef2cc91eb9
vp8dec: Also destroy decoder in set_format() if it was created already
...
Fixes a memory leak.
2012-11-12 10:11:32 +01:00
Sebastian Dröge
bd0ef7fec3
vp8dec: Don't clear input state in reset()
...
The input state is still valid after flushing until
new caps arrive.
Fixes bug #688092 .
2012-11-12 10:11:32 +01:00
Debarshi Ray
8a4a6b770f
vp8dec: Don't give up so easily if failed to decode a frame
...
https://bugzilla.gnome.org/show_bug.cgi?id=687436
2012-11-09 16:43:58 +01:00
Debarshi Ray
8c44361bca
speexdec: Don't unmap or finish_frame an invalid GstBuffer
...
https://bugzilla.gnome.org/show_bug.cgi?id=687464
2012-11-06 19:49:50 +00:00
Tim-Philipp Müller
230cf41cc9
Fix FSF address
...
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-04 00:07:18 +00:00
Sebastian Dröge
f0640f205c
vp8dec: Immediately return if opening the decoder failed
...
Instead of ignoring any errors.
2012-11-02 09:34:25 +01:00
Debarshi Ray
3c216600f5
vp8dec: Short circuit gst_vp8_dec_handle_frame if keyframe is missing
...
https://bugzilla.gnome.org/show_bug.cgi?id=687376
2012-11-02 09:34:08 +01:00
Tim-Philipp Müller
cd9706e9e9
pulsesrc: don't assert in get_time() when called after shutdown
...
Which might happen if the source gets set to NULL state before
the rest of the pipeline.
https://bugzilla.gnome.org/show_bug.cgi?id=686985
2012-10-30 23:26:39 +00:00
Antoine Tremblay
a1c86de09a
gst: add various missing GST_PLUGINS_BASE_LIBS in Makefile.am
...
Those plugins depend on either libgstaudio or libgstvideo,
which are in gst-plugins-base.
https://bugzilla.gnome.org/show_bug.cgi?id=687013
2012-10-27 23:26:41 +01:00
Sebastian Dröge
69246dfef7
pulsesink: Flush the ringbuffer on GAP events without duration
...
This is required to properly start the ringbuffer and clock.
2012-10-24 11:19:52 +02:00
Oleksij Rempel
83a47cdd0e
vp8enc: set DECODE_ONLY flag on invisible AltRef frames
...
https://bugzilla.gnome.org/show_bug.cgi?id=654216
2012-10-23 16:14:43 +01:00
Tim-Philipp Müller
5ab46eff83
pulsesink: fix caps leak in acceptcaps function
2012-10-20 11:32:27 +01:00
Tim-Philipp Müller
d2fdc26c38
pulsesink: in accept_caps() check if ring buffer is NULL before de-referencing
...
And sprinkle some thread-safety (take object lock for
accessing ring buffer, and pa main loop lock for the
context).
https://bugzilla.gnome.org/show_bug.cgi?id=683782
2012-10-19 15:11:07 +01:00
Tim-Philipp Müller
9dcdc413a7
jpeg, png, vpx: use gst_element_class_set_static_metadata()
...
Avoids some string copies.
2012-10-17 17:03:39 +01:00
Sebastian Dröge
7ceef442a7
vp8enc: And this time fix the default target-bitrate value for real
2012-10-15 15:36:04 +02:00
Sebastian Dröge
1962384cff
vp8enc: Fix default target-bitrate value
2012-10-15 15:32:22 +02:00
Sebastian Dröge
2dc8425f03
dvdemux: The convert and duration queries are not supposed to change the format
2012-09-27 11:03:28 +02:00
Edward Hervey
e39fd693d7
vp8enc: Disable GLIB deprecation warnings
...
GValueArray has been deprecated since 2.32 ... but there's no usable
replacement for it.
See https://bugzilla.gnome.org/show_bug.cgi?id=667228
2012-09-25 14:47:25 +02:00
Arun Raghavan
027cc0e463
pulsesrc: Mute stream post-connection if required
...
A bug in PulseAudio causes PA_STREAM_START_MUTED to be rejected on
record streams. Until this is fixed upstream, we mute the stream
manually at startup. Based on a patch by Alban Browaeys
<prahal@yahoo.com>.
https://bugzilla.gnome.org/show_bug.cgi?id=684469
2012-09-21 16:58:43 +08:00
Arun Raghavan
f46475ee37
pulsesink: Specify endianness in IEC 61937 payloading
...
Corresponds to an API change in gst-plugins-base.
https://bugzilla.gnome.org/show_bug.cgi?id=678021
2012-09-19 09:18:19 +05:30
Sebastian Dröge
ee295d3fd5
vp8enc: Correctly finish frames
...
Previously we would always get the same frame if multiple frames are pending,
leaking memory of the previous frames and breaking timestamps.
2012-09-17 09:48:56 +02:00
Sebastian Dröge
3e86ea8fb5
vp8enc: Allow changing bitrate and other parameters during playback
...
Fixes bug #648276 .
2012-09-17 09:40:41 +02:00
Sebastian Dröge
4815036708
vp8enc: Store configuration in the vpx_codec_enc_cfg_t struct instead of duplicating all variables
...
Also protect encoder with a mutex.
2012-09-17 09:29:26 +02:00
Sebastian Dröge
8ed85c7538
vp8enc: Update documentation to reflect new property names
...
...and also link to the WebM encoder parameters website.
2012-09-16 16:03:06 +02:00
Sebastian Dröge
acd0824cf6
vp8enc: Make some property names more readable
2012-09-16 15:58:51 +02:00
Sebastian Dröge
d4eaa932e5
vpx: Integrate into the build system
2012-09-16 15:43:39 +02:00
Sebastian Dröge
2a4e3d2110
vpx: Rename vp8 plugin to vpx
...
This is using libvpx, which can support more codecs than just VP8
and will likely support future codecs.
2012-09-16 15:33:57 +02:00
Sebastian Dröge
eed915b05e
vp8: Apply remaining changes that got lost while moving the plugin via git am thanks to merges
2012-09-16 15:32:24 +02:00
Sebastian Dröge
c4e0aff12b
[MOVED FROM BAD 134/134] vp8dec: Unref input/output states when stopping the decoder
2012-09-16 15:32:04 +02:00
Sebastian Dröge
9c0ff2f381
[MOVED FROM BAD 133/134] vp8enc: Update realtime profile to the new properties
2012-09-16 15:32:04 +02:00
Sebastian Dröge
b9ba9a28da
[MOVED FROM BAD 132/134] vp8: Require latest libvpx release (1.1.0 from May 2012)
...
Fixes bug #684116 and simplifies configure checks.
2012-09-16 15:32:04 +02:00
Sebastian Dröge
711ae3c94b
[MOVED FROM BAD 131/134] vp8enc: Use a string field for the profile in the caps
...
Just for consistency with all the other codecs.
2012-09-16 15:32:04 +02:00
Sebastian Dröge
1639d1e150
[MOVED FROM BAD 130/134] vp8enc: Correctly set profile in caps
2012-09-16 15:31:57 +02:00
Sebastian Dröge
35520df7c0
[MOVED FROM BAD 129/134] vp8: Update copyright and authors
2012-09-16 15:31:57 +02:00
Sebastian Dröge
392bd12a45
[MOVED FROM BAD 128/134] vp8enc: Rework encoder properties to be more in line with the libvpx tools and API
...
Also add all available properties.
2012-09-16 15:31:57 +02:00
Mark Nauwelaerts
c70dc304f4
[MOVED FROM BAD 127/134] replace gst_element_class_set_details_simple with gst_element_class_set_metadata
2012-09-16 15:31:48 +02:00
Edward Hervey
210742d934
[MOVED FROM BAD 126/134] vp8dec: Call gst_video_decoder_negotiate()
2012-09-16 15:31:38 +02:00
Sebastian Dröge
d61c1e9e02
[MOVED FROM BAD 125/134] vp8dec: Add support for multiple decoding threads
2012-09-16 15:31:38 +02:00
Sebastian Dröge
59d906b6c3
[MOVED FROM BAD 124/134] vp8dec: Add support for the MFQE postprocessing flag
...
Which is enabled by default if postprocessing is enabled.
2012-09-16 15:31:27 +02:00
Sebastian Dröge
58e8efb6f7
[MOVED FROM BAD 123/134] vp8: Use pkg-config file for getting the LIBS and CFLAGS
2012-09-16 15:31:27 +02:00
Sebastian Dröge
26f1269486
[MOVED FROM BAD 122/134] vp8enc: Update the per-component strides for every frame too
...
This is necessary because of GstVideoAlignment
2012-09-16 15:31:10 +02:00
Oleksij Rempel
4cb020932c
[MOVED FROM BAD 121/134] vp8enc: initiate encoder to fix a crash.
...
Without this patch vp8enc send header before and after first
key frame. On second keyframe vp8dec will crash without getting
decoded frame. With this pipe it is easy to reproduce this issue:
gst-launch-1.0 videotestsrc ! vp8enc ! vp8dec ! fakesink
https://bugzilla.gnome.org/show_bug.cgi?id=680667
2012-09-16 15:31:10 +02:00
Sebastian Dröge
16db1b677a
[MOVED FROM BAD 120/134] tag: Update for taglist/tag event API changes
2012-09-16 15:31:10 +02:00
Sebastian Dröge
1fdf044acf
[MOVED FROM BAD 119/134] ext: Update for video base classes API changes
2012-09-16 15:31:10 +02:00
Oleksij Rempel
2d7cbc8113
[MOVED FROM BAD 118/134] vp8enc: fix memory leak
...
unref frame. i hope it is correct place to do it.
Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net>
2012-09-16 15:31:10 +02:00
Wim Taymans
c45fcd0f01
[MOVED FROM BAD 117/134] update for query api changes
2012-09-16 15:31:10 +02:00
Wim Taymans
365557edc1
[MOVED FROM BAD 116/134] update for query api changes
2012-09-16 15:31:10 +02:00
Wim Taymans
af3ddea42d
[MOVED FROM BAD 115/134] update for allocation query changes
2012-09-16 15:31:10 +02:00
Vincent Penquerc'h
c76f4fe3ef
[MOVED FROM BAD 114/134] vp8: fix codec state leaks
...
I only tested that vp8enc ! vp8dec does not crash, as valgrind does not grok
at least one of the instructions used by vp8enc, preventing me from checking
a leak, and the lack of one after the patch.
2012-09-16 15:31:10 +02:00
Wim Taymans
e644f68e26
[MOVED FROM BAD 113/134] update for tag event change
2012-09-16 15:31:10 +02:00
Sebastian Dröge
dcb3fc514e
[MOVED FROM BAD 112/134] vp8: Port to 0.11 again
2012-09-16 15:31:10 +02:00
Vincent Penquerc'h
01b86b6b2a
[MOVED FROM BAD 111/134] vp8enc: fix target bitrate config with libvpx 1.1.0
...
libvpx 1.1.0 disallows a bitrate of 0, which was used by
vp8enc as a default value.
Instead, we use the default libvpx bitrate, scaled to our
video size, if no bitrate was specified.
This fixes encoding VP8 video with libvpx 1.1.0.
https://bugzilla.gnome.org/show_bug.cgi?id=676245
2012-09-16 15:30:22 +02:00
Sebastian Dröge
fd598a8e3d
[MOVED FROM BAD 110/134] vp8enc: Update for GstVideoCodecFrame API changes
2012-09-16 15:30:22 +02:00
Thiago Santos
1f65326f67
[MOVED FROM BAD 109/134] vp8dec: Improve output_state handling
...
Avoid getting output_state for every buffer as that requires
getting the objectlock and doing reference counting. Store it locally
when it is created and use it.
2012-09-16 15:30:22 +02:00
Thiago Santos
4484130cbf
[MOVED FROM BAD 108/134] vp8dec: Use outputstate when copying output buffer data
...
Using the input state was causing a crash because the strides/offsets
would be wrong. Fix it by using the output as we are dealing with
the decoded frame.
2012-09-16 15:30:05 +02:00
Edward Hervey
74aa2e7c6a
[MOVED FROM BAD 107/134] vp8: Port to -base video base classes
...
Conflicts:
ext/vp8/Makefile.am
ext/vp8/gstvp8dec.c
ext/vp8/gstvp8enc.c
Back to 0.10 state for now, need to be ported again.
2012-09-16 15:29:52 +02:00
Vincent Penquerc'h
dccf3dc0b6
[MOVED FROM BAD 106/134] vp8enc: fix target bitrate config with libvpx 1.1.0
...
libvpx 1.1.0 disallows a bitrate of 0, which was used by
vp8enc as a default value.
Instead, we use the default libvpx bitrate, scaled to our
video size, if no bitrate was specified.
This fixes encoding VP8 video with libvpx 1.1.0.
https://bugzilla.gnome.org/show_bug.cgi?id=676245
2012-09-16 15:28:18 +02:00
Sebastian Dröge
4fa72a5c23
[MOVED FROM BAD 105/134] gst: Update for GST_PLUGIN_DEFINE() API changes
2012-09-16 15:28:18 +02:00
Sebastian Dröge
9894fc2abe
[MOVED FROM BAD 104/134] gst: Update versioning
2012-09-16 15:28:18 +02:00
Sebastian Dröge
3cfb400de1
[MOVED FROM BAD 103/134] vp8enc: Fix 'argument to 'sizeof' in 'memset' call is the same expression as the destination' compiler warning
2012-09-16 15:28:18 +02:00
Wim Taymans
0eeb65f989
[MOVED FROM BAD 102/134] update for HEADER flag
2012-09-16 15:28:18 +02:00
Mark Nauwelaerts
85c73e93f3
[MOVED FROM BAD 101/134] port some more to new memory API
...
Fixes #668677 .
2012-09-16 15:28:18 +02:00
Oleksij Rempel (Alexey Fisher)
ec7f8034af
[MOVED FROM BAD 100/134] vp8enc: trace outgoing timestamps
...
add info level prints for outgoing timestamps.
Signed-off-by: Oleksij Rempel (Alexey Fisher) <bug-track@fisher-privat.net>
2012-09-16 15:28:18 +02:00
Oleksij Rempel (Alexey Fisher)
03d9022587
[MOVED FROM BAD 099/134] vp8dec: use is_alt_data option to prevent timestamp collisions
...
altref/invisible frames usually stored in container with same timestamp as
dependet frame. This make basevideodecoder to update timestamp for dependet
frame and couse TS colision on next frame:
^- here is altref
time : 1 2 3 4 5 6 7 8 9
webm ts : 1 3 5 5 7 9
vp8dec ts: 1 3 7 7 9
Fix bug: https://bugzilla.gnome.org/show_bug.cgi?id=655245
Signed-off-by: Oleksij Rempel (Alexey Fisher) <bug-track@fisher-privat.net>
2012-09-16 15:28:18 +02:00
Oleksij Rempel (Alexey Fisher)
772f7b6605
[MOVED FROM BAD 098/134] vp8: add initial preset file
...
This is initial preset file, currently with only one profile
for realtime encoding.
Signed-off-by: Oleksij Rempel (Alexey Fisher) <bug-track@fisher-privat.net>
2012-09-16 15:28:18 +02:00
Vincent Penquerc'h
d286b04ee0
[MOVED FROM BAD 097/134] various: fix pad template ref leaks
...
https://bugzilla.gnome.org/show_bug.cgi?id=662664
2012-09-16 15:28:18 +02:00
Tim-Philipp Müller
020b7c902d
[MOVED FROM BAD 096/134] vp8dec: use new basevideodecoder API to drop frames and get QoS messages posted
2012-09-16 15:27:15 +02:00
Mart Raudsepp
8fe80026a5
[MOVED FROM BAD 095/134] mimic, opencv, vp8, acmmp3dec, linsys: Don't build static plugins
...
Pass --tag=disable-static to libtool everywhere where it's been forgotten
https://bugzilla.gnome.org/show_bug.cgi?id=663768
2012-09-16 15:27:15 +02:00
Edward Hervey
c03ae2f3c2
[MOVED FROM BAD 094/134] vp8: Port to 0.11
2012-09-16 15:27:15 +02:00
David Schleef
653ad8b286
[MOVED FROM BAD 093/134] vp8enc: fix drop-frame property
...
Fixes #656929 .
2012-09-16 15:27:15 +02:00
Vincent Penquerc'h
b20d432046
[MOVED FROM BAD 092/134] vp8: probe for the new tuning API to keep building with older libvpx
...
https://bugzilla.gnome.org/show_bug.cgi?id=656928
2012-09-16 15:27:15 +02:00
Sebastian Dröge
8e143b1c7d
[MOVED FROM BAD 091/134] vp8enc: Remove unused and useless variable in tags handling
2012-09-16 15:27:15 +02:00
Sebastian Dröge
c58dd70675
[MOVED FROM BAD 090/134] vp8enc: Update for basevideoencoder ::get_caps() removal
2012-09-16 15:27:15 +02:00
David Schleef
73a6edbfe2
[MOVED FROM BAD 089/134] vp8enc: Add more properties
2012-09-16 15:27:15 +02:00
Alexey Fisher
1764be1296
[MOVED FROM BAD 088/134] vp8enc: add min/maxsection-pct option
...
This options should be good to redeuce decode CPU load.
for lowend hardware:
minsection-pct=15 maxsection-pct=400
for hiend hw:
minsection-pct=5 maxsection-pct=800
see example:
http://www.webmproject.org/tools/encoder-parameters/#2-pass_vbr_encoding_for_smooth_playback_on_low-end_hardware
Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
Signed-off-by: David Schleef <ds@schleef.org>
2012-09-16 15:27:15 +02:00
Alexey Fisher
01ec7efbe4
[MOVED FROM BAD 087/134] vp8enc: add lag-in-frames option.
...
This option set maximum of frames codec should remember,
to make better prediktion for alt-ref frames.
See example:
http://www.webmproject.org/tools/encoder-parameters/#2-pass_best_quality_vbr_encoding
Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
Signed-off-by: David Schleef <ds@schleef.org>
2012-09-16 15:27:15 +02:00
Alexey Fisher
24d21d5e5f
[MOVED FROM BAD 086/134] vp8enc: use multipass.cache file name as default for multipass mode.
...
Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
Signed-off-by: David Schleef <ds@schleef.org>
2012-09-16 15:27:15 +02:00
Sebastian Dröge
6af5e9ce38
[MOVED FROM BAD 085/134] vp8enc: Update for GstBaseVideoEncoder::finish() signature change
2012-09-16 15:27:15 +02:00
Olivier Crête
140bd5c092
[MOVED FROM BAD 084/134] vp8: Fix set-but-unused warnings
2012-09-16 15:27:15 +02:00