Commit graph

990 commits

Author SHA1 Message Date
Wim Taymans
234d15c9d0 asf: unmap packets 2012-06-27 10:24:45 +02:00
Bastien Nocera
53cfef3e0f asfdemux: Ignore parsing errors from broken packets
We should instead be counting the number of errors and exiting if
they're too numerous. This makes a number of broken ASF files playable.

https://bugzilla.gnome.org/show_bug.cgi?id=678543

Conflicts:

	gst/asfdemux/asfpacket.c
	gst/asfdemux/gstasfdemux.c
2012-06-27 10:21:15 +02:00
Wim Taymans
8fd4a75f47 fix interlace-mode 2012-06-26 17:15:43 +02:00
Wim Taymans
d90fd7a250 update for task api change 2012-06-20 10:39:37 +02:00
Tim-Philipp Müller
feb316e604 synaesthesia: remove experimental GPL-ed synaesthesia plugin
It never made it out of experimental, and there's a new
synaescope element in gst-plugins-bad that's hopefully
sufficiently similar.

https://bugzilla.gnome.org/show_bug.cgi?id=356882
2012-06-16 18:29:54 +01:00
Tim-Philipp Müller
0278ba7e7c mpegstream: remove leftover hidden .gitignore file 2012-06-16 18:13:47 +01:00
Sebastian Dröge
2ec36a9c0a elements: Use gst_pad_set_caps() instead of manual event fiddling 2012-06-08 15:55:42 +02:00
Wim Taymans
8172d8b683 update for tag event change 2012-06-06 13:03:04 +02:00
Tim-Philipp Müller
a877021ab1 realmedia: don't use GstStructure API on tag lists 2012-05-26 23:41:02 +01:00
Sebastian Dröge
452b3a29fc asfdemux: Use correct enum type 2012-05-13 15:26:48 +02:00
Vincent Penquerc'h
cd8a5fb939 asfdemux: implement pull mode seek snap flags when an index is present
Also ensure we get a proper EOS when seeking past the end of the
file, or (when the snap after flag is set) between the last keyframe
and the end of the file.
2012-05-10 10:16:14 +01:00
Tim-Philipp Müller
3064bf4a86 asfdemux: fix performance issue, especially with high-bitrate streams
Two things were suboptimal from a performance point of view:

a) consider a large media object such as a video keyframe, which
   may be split up into multiple fragments. We would assemble
   the media object as follows:
     buf = join (join (join (frag1, frag2), frag3), frag4)
   which causes many unnecessary memcpy()s, and malloc/free,
   which could easily add up to a multiple of the actual object
   size. To avoid this, we allocate a buffer of the size needed
   from the start and copy fragments into that directly.

b) for every fragment to join, we would create a sub-buffer
   before joining it (which would discard the sub-buffer again),
   leading to unnecessary miniobject create/free churn.

Conflicts:

	gst/asfdemux/asfpacket.c
	gst/asfdemux/asfpacket.h
2012-04-16 09:02:46 +02:00
Tim-Philipp Müller
65436c8715 asfdemux: avoid unnecessary stream lookup
We have already retrieved the stream for that stream number and
made sure it's not NULL, so no need to do it again here; neither
the number nor the streams changed since the last time.
2012-04-16 08:54:31 +02:00
Tim-Philipp Müller
08d20e4da8 Use new gst_element_class_set_static_metadata() 2012-04-10 00:47:44 +01:00
Sebastian Dröge
29a893b494 gst: Update for GST_PLUGIN_DEFINE() API changes 2012-04-05 17:40:12 +02:00
Sebastian Dröge
9e5a55a70f gst: Update versioning 2012-04-04 14:38:53 +02:00
Wim Taymans
ede01ed7ac update for buffer api change 2012-03-30 18:15:39 +02:00
Wim Taymans
ffa672bd34 update for buffer changes 2012-03-28 12:53:13 +02:00
Mark Nauwelaerts
aeaa143e4e synaesthesia: fixup for bufferpool api changes
... as well as some caps ref handling.
2012-03-18 18:56:51 +01:00
Wim Taymans
4aa8c11d85 don't pass random pointers to pull_range 2012-03-16 21:48:02 +01:00
Wim Taymans
7cd283ebc6 update for memory api changes 2012-03-15 13:38:16 +01:00
Wim Taymans
84c98370e5 update for new memory api 2012-02-22 02:07:49 +01:00
Mark Nauwelaerts
689b94b8a9 synaesthesia: port to 0.11 2012-02-17 17:53:34 +01:00
Mark Nauwelaerts
0d66ce0062 xingmux: port to 0.11 2012-02-17 17:53:28 +01:00
Wim Taymans
f731208bcd GST_FLOW_WRONG_STATE -> GST_FLOW_FLUSHING 2012-02-08 16:38:09 +01:00
Wim Taymans
2f49fd9f39 update for HEADER flag 2012-01-30 17:17:31 +01:00
Wim Taymans
56a07a14b5 port to new memory API 2012-01-25 11:57:07 +01:00
Wim Taymans
a95015dcfd port to new gthread API 2012-01-19 11:34:41 +01:00
Mark Nauwelaerts
712188f26b asfdemux: set caps on src pad before adding it 2012-01-13 15:59:06 +01:00
Mark Nauwelaerts
96030c3b09 asfdemux: perform writable buffer map to copy into it 2012-01-13 15:59:05 +01:00
Mark Nauwelaerts
0bc76c0d03 asfpacket: fix 0.11 ported payload extraction
... to cater for not necessarily offset == size - cur_pos,
as size may have been adjusted due to padding.

Fixes #667567.
2012-01-13 15:59:01 +01:00
Tim-Philipp Müller
86313742d4 GST_TYPE_DATE -> G_TYPE_DATE 2012-01-13 00:05:50 +00:00
Sebastian Dröge
31063f0098 Merge branch 'master' into 0.11
Conflicts:
	ext/a52dec/gsta52dec.c
	ext/a52dec/gsta52dec.h
	ext/lame/gstlame.c
	ext/lame/gstlame.h
	ext/lame/gstlamemp3enc.c
	ext/mad/gstmad.c
	ext/mad/gstmad.h
	gst/mpegaudioparse/gstmpegaudioparse.c
	gst/mpegstream/gstdvddemux.c
	gst/realmedia/rdtdepay.c
	po/es.po
	po/lv.po
	po/sr.po
2012-01-10 15:17:11 +01:00
Mark Nauwelaerts
fb6e749c87 dvdsub: add some CFLAGS and LIBS in Makefile.am
... since adapter is still used.
2012-01-10 11:41:52 +01:00
Sebastian Dröge
74e717038f rmdemux: Don't use buffer after unreffing 2012-01-09 16:00:18 +01:00
Sebastian Dröge
58787102e9 asfdemux: Only change writable caps and make sure to set updated caps on the srcpad 2012-01-09 15:46:10 +01:00
Wim Taymans
a2dee80838 dvdlpcmdec: fix for multichannel 2012-01-05 12:17:20 +01:00
Sebastian Dröge
7fea0ed2f5 dvdlpcmdec: Port to the new raw audio caps 2012-01-05 10:37:04 +01:00
Sebastian Dröge
e3f1b21660 asfdemux: Update for libgstriff API changes
Still needs to handle audio channel reordering.
2012-01-05 10:37:04 +01:00
Wim Taymans
f9d64ff495 GST_FLOW_UNEXPECTED -> GST_FLOW_EOS 2012-01-03 15:27:42 +01:00
Mark Nauwelaerts
cacc663b35 dvddemux: tweak subtitle stream setup based on dvd language codes event
... to allow for non-continuous subtitle stream numbers.
The missing stream numbers tend to come up as subtitle streams anyway
(albeit not with an identified language tag).
2011-12-21 22:07:27 +01:00
Tim-Philipp Müller
da9f20eceb Work around deprecated thread API in glib master
Add private replacements for deprecated functions such as
g_mutex_new(), g_mutex_free(), g_cond_new() etc., mostly
to avoid the deprecation warnings. We can't change most of
these in 0.10 because they're part of our API and ABI.

Suppress deprecation warnings in selected files, mostly for
g_static_rec_mutex_*. StaticRecMutex is part of our API/ABI,
not much we can do here in 0.10.
2011-12-12 11:33:31 +00:00
Tim-Philipp Müller
15cd0c5e36 rdtdepay: make buffer metadata writable before setting caps on it
Fixes issue when the header buffer is being pushed, which was taken
from the caps and is therefore not writable.
2011-12-09 15:25:21 +00:00
Edward Hervey
fb335d6fc1 rtpasfdepay: Initialize GstRTPBuffer before usage 2011-12-05 18:43:49 +01:00
Wim Taymans
436cc30a94 update for clock provider API change 2011-11-28 17:52:52 +01:00
Vincent Penquerc'h
213ce049ad various: fix pad template ref leaks
https://bugzilla.gnome.org/show_bug.cgi?id=662664
2011-11-28 13:10:01 +00:00
Matej Knopp
4b57b9288b Fix print format compiler warnings on OS X / 64bit
https://bugzilla.gnome.org/show_bug.cgi?id=662617
2011-11-23 23:23:29 +00:00
Wim Taymans
03bc286c64 update for activation changes 2011-11-21 13:36:10 +01:00
Wim Taymans
8eca58a50e update for new scheduling query 2011-11-18 18:00:28 +01:00
Wim Taymans
df3e30ed7e add parent to activate functions 2011-11-18 13:59:29 +01:00
Wim Taymans
2679b9432a add parent to pad functions 2011-11-17 15:25:58 +01:00
Wim Taymans
ee240c1ac0 add parent to query function 2011-11-16 17:28:56 +01:00
Wim Taymans
d338e41a85 _query_peer_*() -> _peer_query_*() 2011-11-15 17:55:36 +01:00
Wim Taymans
3aa7fa6aea _accept_caps() -> _query_accept_caps() 2011-11-15 17:42:32 +01:00
Tim-Philipp Müller
074330bf16 Update for GstURIHandler get_protocols() changes 2011-11-13 23:47:46 +00:00
Tim-Philipp Müller
4db445cf84 dvdreadsrc, pnmsrc: update for GstURIHandler changes 2011-11-13 19:01:31 +00:00
Tim-Philipp Müller
8d44d7ded7 mpegstream: remove the old mpeg-ps parser and demuxers
Don't want anyone porting this by accident.
Superseded by mpegpsdemux in -bad.
2011-11-13 00:07:02 +00:00
Wim Taymans
115e7cbd7f update for base class rename 2011-11-11 12:33:51 +01:00
Wim Taymans
ea1537a4a8 update for base class rename 2011-11-11 12:25:25 +01:00
Tim-Philipp Müller
0983339a6e iec958: remove this plugin
I think it can just go away. Audio sinks can and should payload
things themselves using the helper API in libgstaudio. If such
a plugin still makes sense, it should probably be rewritten
using the library functions (and be put into -good or so).
2011-11-10 23:17:53 +00:00
Wim Taymans
df031523f8 update for adapter api change 2011-11-10 18:25:38 +01:00
Wim Taymans
6a7345c98d remove query types 2011-11-09 11:58:03 +01:00
Wim Taymans
839773dbed realmedia is ported 2011-11-04 17:32:58 +01:00
Wim Taymans
85c1707fcf more template fixes 2011-11-04 16:42:31 +01:00
Wim Taymans
3925721cd1 make request pads take %u 2011-11-04 12:04:56 +01:00
Wim Taymans
e59ba7ca05 tags: update for tag API removal 2011-11-02 12:09:45 +01:00
Wim Taymans
c944e225c8 structure: fix for api update 2011-11-02 09:09:26 +01:00
Tim-Philipp Müller
d919b7b0f4 Merge remote-tracking branch 'origin/master' into 0.11 2011-10-31 14:34:57 +00:00
Tim-Philipp Müller
2a755f15af lame: remove lame element, it's been superseded by lamemp3enc 2011-10-30 13:47:26 +00:00
Tim-Philipp Müller
1905e95cea ext, gst: update for taglist API changes 2011-10-30 11:51:58 +00:00
Edward Hervey
daecb74456 asfdemux: Don't leak pending payload buffers
Fixes #662964
2011-10-29 11:57:40 +02:00
Tim-Philipp Müller
211fd04773 asfdepay: fix compiler warnings after gst_caps_new_simple() change 2011-10-28 09:18:04 +01:00
Edward Hervey
82a8cc6807 asfdemux: Don't unmap a buffer that doesn't exist 2011-10-11 18:03:01 +02:00
Wim Taymans
e06c2d881b dvdsub: port to 0.11 2011-10-06 17:24:22 +02:00
Wim Taymans
9a7cbf8f0a realmedia: port to 0.11 2011-10-05 13:18:45 +02:00
Wim Taymans
43a6c74eca dvdlpcmdec: port to 0.11 2011-09-27 20:32:46 +02:00
Wim Taymans
854f4d846b Merge branch 'master' into 0.11
Conflicts:
	ext/mad/gstmad.c
2011-09-26 19:07:23 +02:00
Mark Nauwelaerts
eee31aecb3 asfpacket: skip empty payload packets
... which also avoids assertion failures and possible segfaults later on
when possibly trying to join 2 empty buffers.
2011-09-08 17:02:27 +02:00
Tim-Philipp Müller
700d8b1c28 rmdemux: delay announcing container tags until we have pads
Fixes tags when transcoding.

https://bugzilla.gnome.org/show_bug.cgi?id=658297
2011-09-08 14:33:00 +01:00
Wim Taymans
d4f1303f57 asf: don't use fourcc 2011-08-25 13:04:01 +02:00
Wim Taymans
8ab84f0f8a Merge branch 'master' into 0.11
Conflicts:
	common
	gst/asfdemux/gstrtpasfdepay.c
2011-08-03 18:58:09 +02:00
Tim-Philipp Müller
2e6d295b8b Remove mp3parse plugin/element
It's been replaced by mpegaudioparse in -good. Don't want anyone
to spend time porting a deprecated element. Rename plugin to xingmux
for now until we move that somewhere else.
2011-08-03 01:08:43 +01:00
Edward Hervey
0a593a1e98 asfdemux: Fix for changes in GstQuery API 2011-08-02 12:40:22 +02:00
Edward Hervey
8281683027 asfdemux: Fix print statement 2011-08-02 12:40:01 +02:00
Thiago Santos
6649f6cfa0 rtspwms: Porting to 0.11 2011-06-20 00:36:59 -03:00
Thiago Santos
77106101fa rtpasfdepay: Port to 0.11 2011-06-20 00:36:59 -03:00
Thiago Santos
2dc2be5e7b asfdemux: Porting to 0.11 2011-06-20 00:36:59 -03:00
Mark Nauwelaerts
3ba6d1588f rtpasfdepay: fix fragmented packet handling and packet padding
Also remove a bogus assert.
2011-06-06 12:55:02 +02:00
Stefan Kost
2965dbac47 synaesthesia: fix wrong debug log string (copy'n'paste) 2011-06-03 11:35:55 +03:00
Wim Taymans
13c252b2a8 Merge branch 'master' into 0.11
Conflicts:
	configure.ac
2011-06-02 18:46:11 +02:00
Stefan Kost
a184490e6c rmdemux: target is unsigned and can't be < 0 2011-05-20 13:32:31 +03:00
Mark Nauwelaerts
58e445d91f rtpasfdepay: simplify and refactor packet parsing
Specifically, refactor buffer padding and consider marker bit for fragment
assembling.
2011-05-16 12:53:27 +02:00
Mark Nauwelaerts
4f2627e737 rtpasfdepay: avoid re-sending header
... e.g. following a seek, which otherwise confuses downstream demuxer
expecting only a flow of data packets at this time.
2011-05-16 12:53:24 +02:00
Mark Nauwelaerts
81f62a987a rtpasfdepay: remove unused field 2011-05-16 12:53:20 +02:00
Wim Taymans
98729bc82c Merge branch 'master' into 0.11
Conflicts:
	android/amrnb.mk
	android/amrwbdec.mk
	android/asf.mk
	android/mpegaudioparse.mk
	configure.ac
2011-04-19 19:23:56 +02:00
Tim-Philipp Müller
59ced3ae36 rademux: fix two 'variable may be used uninitialized' warnings caused by -DG_DISABLE_ASSERT 2011-04-16 23:23:56 +01:00
Tim-Philipp Müller
120731ee4e mpegstream: fix unused-but-set-variable warnings with gcc 4.6 2011-04-14 15:04:19 +01:00
Tim-Philipp Müller
81173fcbad asfdemux: fix unused-but-set-variable warnings with gcc 4.6 2011-04-14 15:03:33 +01:00
Thibault Saunier
1e6a607e01 android: make it ready for androgenizer
To build gstreamer for android we are now using androgenizer which
generates the needed Android.mk files.

Androgenizer can be found here: http://git.collabora.co.uk/?p=user/derek/androgenizer.git
2011-04-11 07:31:13 +02:00
Sebastian Dröge
101e8a024f dvdsubdec: Rearrange buffer allocation and pushing code a bit
This makes the code easier to read, doesn't store every buffer
in the instance until the next buffer is to be drawn and
fixes an unitialized variable compiler warning.
2011-03-15 11:02:42 +01:00