Commit graph

1887 commits

Author SHA1 Message Date
Tim-Philipp Müller
9b1ee36328 basevideo, vp8: guard unstable API with GST_USE_UNSTABLE_API
Add some guards and fat warnings to the header files with still unstable
API, so people who just look at the installed headers know that it
actually is unstable API.

Merging previous commit into current codebase.
2010-06-02 19:28:15 -07:00
Olivier Crête
6aa3eea8aa mimdec: Clear adapter when flushing 2010-06-02 21:03:54 -04:00
Olivier Crête
80bc16f1e2 mimdec: Stop decoding if can't push 2010-06-02 21:03:54 -04:00
Olivier Crête
456456401a mimdec: Flush adapter right ater using it 2010-06-02 21:03:54 -04:00
Olivier Crête
fd9f049bf2 mimenc: No need to do a try allocation 2010-06-02 21:03:54 -04:00
Olivier Crête
8fa5f01100 mimenc: Document paused-mode property 2010-06-02 21:03:54 -04:00
Olivier Crête
4ffede5d87 mimic: Use log loglevel for messages that are shown on every frame 2010-06-02 21:03:54 -04:00
Olivier Crête
791710a92f mimdec: Remove object lock usage, stream lock is enough 2010-06-02 21:03:54 -04:00
Olivier Crête
59547d6eed mimdec: Output framerate is unknown 2010-06-02 21:03:54 -04:00
Olivier Crête
cf866e11ae mimdec: Remove local state variable from instance 2010-06-02 21:03:54 -04:00
Olivier Crête
d05df5500f mimdec: Remove useless variable 2010-06-02 21:03:54 -04:00
Olivier Crête
b559cfbf66 mimdec: Make caps a lot stricter 2010-06-02 21:03:53 -04:00
Olivier Crête
deb13169b3 mimenc: Set delta_unit flag on intra frames 2010-06-02 21:03:53 -04:00
Olivier Crête
fe7fe29221 mimic: Initialize encoder/decoders in state change and setcaps where possible 2010-06-02 21:03:53 -04:00
Olivier Crête
2eee0091f3 mimic: Fix element details 2010-06-02 21:03:53 -04:00
Olivier Crête
092a5b798c mimic: Hold element lock while accessing the clock 2010-06-02 21:03:53 -04:00
Olivier Crête
140a3038c5 mimic: Refactor tcp header creation to not make a separate buffer 2010-06-02 21:03:53 -04:00
Olivier Crête
0ba7742cc1 mimic: Function can't fail 2010-06-02 21:03:53 -04:00
Olivier Crête
ee313094c3 mimic: Remove C++ style comments 2010-06-02 21:03:53 -04:00
Olivier Crête
a5b3b27d70 mimic: Use GST_ELEMENT_ERROR when returning a flow error 2010-06-02 21:03:53 -04:00
Olivier Crête
d9d27a4a54 mimic: Fix GST_MIM_*_CLASS macros 2010-06-02 21:03:53 -04:00
Olivier Crête
50fe356373 mimic: Warn if paused-mode is toggled while playing 2010-06-02 21:03:52 -04:00
Olivier Crête
81a055f20d mimic: Add GST_DEBUG_FUNCPTR where appropriate 2010-06-02 21:03:52 -04:00
Olivier Crête
b8e86cc8ad mimic: Rename functions/macros to match class names 2010-06-02 21:03:52 -04:00
David Schleef
6961d82039 cog: use common/orc.mak 2010-06-02 00:01:14 -07:00
Sebastian Dröge
0f6d3e7b4f schro: Fix segfault on EOS 2010-06-02 00:01:14 -07:00
David Schleef
69a5d3c067 schro: fix for base video updates 2010-06-02 00:01:14 -07:00
Sebastian Dröge
8dddd8e633 dirac: Fixes for base video encoder changes 2010-06-02 00:01:14 -07:00
David Schleef
bdb5926cda basevideo: Move base video from vp8 to gst-libs 2010-06-02 00:01:10 -07:00
Sebastian Dröge
443af97a41 vp8: Use VPX_PLANE_* instead of PLANE_* 2010-06-01 11:19:46 +02:00
Sebastian Dröge
637a12a028 vp8: Add compatilibity defines to work with older versions of libvpx too 2010-06-01 11:19:46 +02:00
Philip Jägenstedt
4c552be9d9 vp8dec: s/IMG_FMT_I420/VPX_IMG_FMT_I420/
This corresponds to upstream libvpx commit 6cd4a10e167203d1deb79abf60ee72599e97891b
2010-06-01 11:19:46 +02:00
Sebastian Dröge
b43afeffd7 vp8enc: Allow a maximum keyframe distance of 0, i.e. all frames are keyframes 2010-06-01 11:19:46 +02:00
Sebastian Dröge
24027dd9f2 vp8dec: Set decoder deadline from the QoS information 2010-06-01 11:19:45 +02:00
Sebastian Dröge
e9c48d1671 vp8enc: Move debug output one line above where the packet is still valid 2010-05-28 16:35:50 +02:00
Sebastian Dröge
1e1d52f4fc vp8enc: Correctly ignore non-frame packets from the encoder
Fixes bug #619916.
2010-05-28 15:01:15 +01:00
Руслан Ижбулатов
71b8d4b5ce mplex: add MPLEX_LDFLAGS variable
So mingw32 users can hack around a compiler/linker bug.

Fixes #617145
2010-05-25 15:48:10 +01:00
David Schleef
e601988ddd cogcolorspace: resample YUV->YUV conversions
Fixes a segfault (bug #618044).
2010-05-22 10:40:52 +01:00
Sebastian Dröge
179555c45b basevideodecoder: Take the frame duration into account when calculating the earliest time
This formula is used in many other elements too.

Fixes bug #619318.
2010-05-22 11:01:13 +02:00
Sebastian Dröge
71ebf1add6 basevideodecoder: Reset QoS values when necessary 2010-05-22 11:01:06 +02:00
Sebastian Dröge
2fa8d69d82 vp8enc: Use GST_VIDEO_CAPS_YUV(I420) instead of handwritten I420 caps for the pad template
Fixes bug #619344.
2010-05-22 11:00:44 +02:00
Philip Jägenstedt
0285cff300 vp8dec: drop late frames after decoding them
This saves a memcpy, which is always something.
2010-05-21 22:23:27 +02:00
Philip Jägenstedt
7ce969720f vp8enc: threads property
Increasing from 1 to 2 threads on an Thinkpad X60s decreased encode time
in a test from ~24 s to ~19 s, so this is quite useful.

Ideally we should let 0 be the default and automatically match the number
of CPU cores (or something).
2010-05-21 22:23:13 +02:00
Philip Jägenstedt
17ab21dae3 vp8enc: add mode property to switch between CBR/VBR
Always using CBR when bitrate is used isn't that great, VBR mode
can produce meaningful results too.
2010-05-21 22:23:04 +02:00
Sebastian Dröge
b740f4c8dd vp8dec: Only enable postprocessing if the decoder supports it 2010-05-21 10:54:57 +02:00
Philip Jägenstedt
c01e89d07e vp8: typo: s/HAVE_VP8_DECODER/HAVE_VP8_ENCODER/
Fixup for bug #619172.
2010-05-21 10:18:31 +02:00
Philip Jägenstedt
54e6f65ef3 vp8: move #ifdef HAVE_VP8_ENCODER/DECODER
Otherwise we'll try including e.g. <vpx/vp8cx.h> which doesn't exist.
2010-05-21 08:27:06 +02:00
Sebastian Dröge
d0f09279ed vp8enc: Write GStreamer element and version in the vorbiscomment vendor string 2010-05-20 20:06:09 +02:00
Sebastian Dröge
d3c9d84fdf vp8: Only enable the encoder or decoder if it's available in libvpx
Fixes bug #619172.
2010-05-20 16:49:55 +02:00
Philip Jägenstedt
e428c10605 vp8: exlcude dec/enc based on CONFIG_VP8_DECODER/ENCODER
This may not be very autotoolish, but works with libvpx in the state
that libvpx is actually in. Moved the debug init to the elements
themselves to minimize amount of #ifdefs
2010-05-20 16:49:55 +02:00