Commit graph

1952 commits

Author SHA1 Message Date
Sebastian Dröge
63081c815b xvid: Don't use deprecated 15/16 bit RGB masks 2010-06-13 08:28:05 +02:00
David Schleef
0e89bc8d54 cog: use glib instead of stdint types 2010-06-10 10:58:54 -07:00
Sebastian Dröge
f0e7bd298c rtmpsrc: Fix timestamps after a seek 2010-06-09 20:49:10 +02:00
Sebastian Dröge
5417900a0e rtmpsrc: Remove page-url and swf-url properties
It's possible to include all those options in the URL already
by appending the options and separating them by spaces, e.g.
rtmp://somewhere/something opt1=val1 opt2=val2
2010-06-07 17:39:07 +02:00
Sebastian Dröge
6aa4a71604 rtmpsrc: Fix memory leaks 2010-06-07 17:31:40 +02:00
Thiago Santos
80e531a3c7 kate: Run gst-indent on .c files
kate plugin has some indentation problems, run gst-indent on them
and fix it
2010-06-07 07:38:33 -03:00
Sebastian Dröge
370a5049ba rtmpsrc: Add some braces to improve readability 2010-06-06 15:32:39 +02:00
Sebastian Dröge
d0ce1ff675 rtmpsrc: Improve timestamp handling a bit 2010-06-06 15:29:34 +02:00
Sebastian Dröge
827ecadb81 rtmpsrc: Add support for seeking 2010-06-06 15:24:23 +02:00
Sebastian Dröge
fdf1598173 rtmpsrc: Handle timestamps and the position query
This is not very accurate but better than nothing. The demuxer
after the source knows more accurate timestamps.
2010-06-06 13:57:06 +02:00
Sebastian Dröge
21f976066c rtmpsrc: Allocate and free the RTMP instance in start/stop 2010-06-06 08:30:09 +02:00
Sebastian Dröge
d289105409 rtmpsrc: Add properties for setting the swfUrl and pageUrl properties
These are required for some streams unfortunately.
2010-06-05 18:02:39 +02:00
Sebastian Dröge
c3d10ed72a rtmpsrc: Major cleanup and reorganization 2010-06-05 18:02:39 +02:00
Sebastian Dröge
547f037ea4 rtmp: Move to ext and drop internal librtmp copy
We really don't want this in gst-plugins-bad because of
legal complexities around RTMP and possible problems
for distributions.

Add README that explains how to build librtmp to be suitable
for linking to the GStreamer plugin.
2010-06-05 18:02:39 +02:00
Tim-Philipp Müller
f49f4c0bd4 vp8enc: fix printf format warning in log message
gstvp8enc.c:564: error: format ‘%d’ expects type ‘int’, but argument 8 has type ‘size_t’
gstvp8enc.c:744: error: format ‘%d’ expects type ‘int’, but argument 8 has type ‘size_t’
2010-06-03 10:49:40 +01:00
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
Philip Jägenstedt
2f4ea3b734 vp8enc: Limit max-latency to 25 to match libvpx
From libvpx/vp8/encoder/onyx_int.h:
 #define MAX_LAG_BUFFERS (CONFIG_REALTIME_ONLY? 1 : 25)

While we don't need to be tied to what libvpx does internally, it
doesn't make sense to pretend to support longer frame lags than are
actually possible.
2010-05-20 10:37:24 +02:00
Sebastian Dröge
fd77b419a4 vp8: Undef HAVE_CONFIG_H before including libvpx headers
A public libvpx header includes private headers if this is
defined, causing compilation failures because the private headers
are not installed of course.
2010-05-20 09:56:25 +02:00
Sebastian Dröge
973267747c vp8enc: Some more minor adjustments for the Ogg mapping 2010-05-20 08:55:44 +02:00
David Schleef
c3d4977761 Split out GST_PLUGINS_BAD_CFLAGS from GST_CFLAGS
Move include directives for gst-libs into GST_PLUGINS_BAD_CFLAGS,
and fix all the Makefiles that use it.  This is so that all the
include directories are added in the proper order: first the
directories in srcdir/builddir, then gst-plugins-base dirs, then
gstreamer dirs.  If the order is wrong, installed headers may be
used instead of local headers and/or uninstalled headers from -base.
2010-05-19 18:24:02 -07:00
Sebastian Dröge
e3925075f9 vp8dec: Fix memory leak 2010-05-19 23:04:07 +02:00
Sebastian Dröge
9b0cd2ef95 vp8enc: Adjust Ogg mapping for the changes 2010-05-19 21:34:42 +02:00
Sebastian Dröge
5dd5a8292a vp8dec: Add properties to control the VP8 decoder post processing feature
This is disabled by default for now.
2010-05-19 19:24:04 +02:00
Sebastian Dröge
28736fa1d4 vp8enc: Rename keyframe-interval to max-keyframe-distance
And use default settings for buffer sizes until we expose this
somehow.
2010-05-19 19:24:04 +02:00
Sebastian Dröge
ab14c8cf5a vp8: Improve error handling and debug output 2010-05-19 19:24:04 +02:00
Sebastian Dröge
31d603b3c9 vp8: Use correct strides and plane offsets for GStreamer 2010-05-19 19:24:03 +02:00
Sebastian Dröge
10a02618c2 vp8enc: Implement GstTagSetter interface 2010-05-19 19:24:03 +02:00
Sebastian Dröge
09c879ea21 vp8enc: Fix setting of the keyframe flag on encoded frames 2010-05-19 19:24:03 +02:00
Sebastian Dröge
dd97378702 vp8enc: Post an error message on the bus if encoder initialization fails 2010-05-19 19:24:03 +02:00
Sebastian Dröge
66844e24d1 vp8dec: Fix memory leaks and fail if initializing the decoder fails 2010-05-19 19:24:03 +02:00
David Schleef
95ddcc24fd vp8enc: Set timebase
Also misc cleanup.
2010-05-19 19:24:03 +02:00
Sebastian Dröge
557fe5c0e4 vp8dec: Fix decoding of invisible frames 2010-05-19 19:24:03 +02:00
Sebastian Dröge
53c47c361d vp8enc: Update the latency when initializing the encoder 2010-05-19 19:24:03 +02:00
Sebastian Dröge
ac7cba4ac2 vp8dec: Correctly initialize stream info before peeking at the stream
Otherwise peeking will fail and we'll get invalid values
2010-05-19 19:24:03 +02:00
Sebastian Dröge
16f6ed7195 vp8dec: Make sure to pass a keyframe as first frame to the decoder, copy output frames only once and require width/height/etc on the input caps 2010-05-19 19:24:02 +02:00
Sebastian Dröge
29328031ad vp8enc: Add support for invisible frames and the Ogg mapping 2010-05-19 19:24:02 +02:00
David Schleef
bf8ae5a18e vp8dec: Fix reset after seeking
Also remove some unused code.
2010-05-19 19:24:02 +02:00
Sebastian Dröge
45011174e7 vp8enc: Set frame numbers as buffer offsets 2010-05-19 19:24:02 +02:00
Sebastian Dröge
3c2c565fff vp8enc: Always get as many frames as possible from the encoder 2010-05-19 19:24:02 +02:00
Sebastian Dröge
620e31efab vp8enc: Fill the oldest pending frame instead of the newest 2010-05-19 19:24:02 +02:00
Sebastian Dröge
370ba5cac7 vp8enc: Correctly set delta unit flag for non-keyframes 2010-05-19 19:24:02 +02:00
David Schleef
4991d5fef3 vp8: Add encoder/decoder 2010-05-19 19:24:02 +02:00
Tim-Philipp Müller
f994f51a2c Remove unused polyp audio plugin code
polypaudio was renamed to pulseaudio ages ago.

Fixes #618867.
2010-05-17 12:17:26 +01:00
Sebastian Dröge
e0cb4fba52 resindvd: Check for dvdnav and dvdread libraries 2010-05-15 15:42:59 +02:00
Wim Taymans
d4f6a94b93 jacksrc: make sure we always read nframes
Error out when we are asked to read a different size that what was configured as
the jack period size because that would mean something else is wrong.

Fixes #618409
2010-05-13 12:55:29 +02:00
Tristan Matthews
7f172b2b96 jack: improve process_cb 2010-05-13 12:42:39 +02:00
Olivier Crête
f1a88ed76b mimdec: Don't try to re-send the same event more than once 2010-05-07 19:15:31 -04:00
Olivier Crête
8f8d9f6c63 mimic: Push out newsegment from current timestamp if the incoming ts is valid
Push out newsegment event with the timestamp from the incoming buffer if
the incoming buffers have a valid timestamp but no valid newsegment event
has been through.
2010-05-06 13:51:22 -04:00
Jan Schmidt
491a202d5c resindvd: Apply caps to generated buffers
Avoid the new warning from the core about not being able to apply caps
to NAV packet buffers, where resindvdsrc holds a ref.
2010-05-06 22:39:05 +10:00
Sebastian Dröge
0a2a0fc344 mmssrc: Use the escaped location for the RTSP redirect message
gst_uri_get_location() unescapes the location, which could result in
an invalid RTSP URI.
2010-05-06 09:51:15 +02:00
Sebastian Dröge
42ac5097a0 mmssrc: Check URI for validity and work around URI parsing bugs in libmms
Fixes bug #617650.
2010-05-06 09:48:00 +02:00