Mark Nauwelaerts
628ae5c1a1
matroskademux: improve decision to fall back to scanning when seeking
...
... which is basically iff not streaming and no entry found in index
2011-12-21 15:45:36 +01:00
Oleksij Rempel (Alexey Fisher)
4f98b4ec85
ac3parse: remove unused variable
...
remove unused variable to fix compile error:
make -C audioparsers
make[3]: Betrete Verzeichnis '/home/lex/tmp/gst-plugins-good/gst/audioparsers'
CC libgstaudioparsers_la-gstaacparse.lo
gstaacparse.c: In function 'gst_aac_parse_read_loas_audio_specific_config':
gstaacparse.c:446:12: error: variable 'sbr' set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
Signed-off-by: Oleksij Rempel (Alexey Fisher) <bug-track@fisher-privat.net>
2011-12-21 13:16:44 +00:00
Vincent Penquerc'h
93ac6fb47e
ac3parse: let bsid 9 and 10 through
...
Files with 9 and 10 happen, and seem to comply with the <= 8
format, so let them through.
The spec says nothing about 9 and 10.
https://bugzilla.gnome.org/show_bug.cgi?id=658546
2011-12-20 19:29:42 +00:00
Mark Nauwelaerts
b175d1cbc4
flvmux: properly determine final duration
...
... which can be authoratively obtained from our own written timestamps.
2011-12-19 17:45:07 +01:00
Mark Nauwelaerts
fa5c02b211
flvmux: only write full metadata at start
...
... rather than having (potentially) unnecessary duplicates written all over,
or even contradictory varying filesize info, or duration info that will not
be rewritten upon header rewrite.
2011-12-19 17:45:04 +01:00
Mark Nauwelaerts
8c32195d51
flvmux: use GstCollectPads2 buffer callback and running time clipper
...
... since the default collection heuristics suffice.
2011-12-19 17:45:01 +01:00
Mark Nauwelaerts
0c7a491a6f
qtmux: use GstCollectPads2 buffer callback and running time clipper
...
... since default collection heuristics suffice.
2011-12-19 17:44:57 +01:00
Mark Nauwelaerts
f06d741633
matroskamux: bring a few debug statements up to specs
...
... and minor spelling fix.
2011-12-19 17:44:55 +01:00
Mark Nauwelaerts
0626724262
matroskamux: additional subtitle support
2011-12-19 17:44:52 +01:00
Mark Nauwelaerts
0845a3718a
matroskamux: additional buffer handling cleanup
2011-12-19 17:44:43 +01:00
Mark Nauwelaerts
7723d64a73
matroskamux: use GstCollectPads2 buffer callback and running time clipper
2011-12-19 17:44:41 +01:00
Vincent Penquerc'h
16a4c596eb
aacparse: parse LOAS variant
...
The LOAS variant seems to have three different subvariants itself,
only one of them is implemented as my two samples happen to be
using that one.
The sample rate is not always reported correctly, as the "main"
sample rate is apparently sometimes half what it should be (both
of my samples report 24000 Hz there), and there are two other
parts of the subvariant with different sampling rates. One of them
is parsed, but not the other, as it's located after some other
large amount of variable data that needs parsing first, and there
seems to be a LOT of it, which is useless for our needs here.
This ends up being rather inconsequential, as ffdec_aac_latm,
which is the only decoder that can decode such streams, does not
need the sample rate on the caps anyway.
https://bugzilla.gnome.org/show_bug.cgi?id=665394
2011-12-19 11:39:44 +00:00
Wim Taymans
8e801dfe1e
wavparse: don't remove srcpad
...
Don't remove the always srcpad in ready and make the element reusable.
2011-12-19 10:48:54 +01:00
Mark Nauwelaerts
50be1d5dae
flvmux: use GstCollectPads2 event callback
...
... in stead of local HACK.
2011-12-15 16:49:41 +01:00
Mark Nauwelaerts
f6b38f2c39
matroskamux: use GstCollectPads2 event callback
...
... in stead of local HACK.
2011-12-15 16:31:36 +01:00
Mark Nauwelaerts
97391f1402
avimux: use GstCollectPads2 event callback
...
... in stead of local HACK.
2011-12-15 16:31:33 +01:00
Mark Nauwelaerts
7480b4407e
qtmux: use GstCollectPads2 event callback
...
... in stead of local HACK.
2011-12-15 16:31:29 +01:00
Vincent Penquerc'h
994dbb4c39
smpte: port to GstCollectPads2
2011-12-14 19:13:21 +00:00
Vincent Penquerc'h
738ee836f3
multipartmux: port to GstCollectPads2
2011-12-14 19:10:53 +00:00
Vincent Penquerc'h
c422a4e2e6
matroskamux: port to GstCollectPads2
2011-12-14 19:07:23 +00:00
Vincent Penquerc'h
79a6e23c1f
qtmux: port to GstCollectPads2
2011-12-14 19:02:23 +00:00
Vincent Penquerc'h
3135cab5a3
interleave: port to GstCollectPads2
2011-12-14 18:55:36 +00:00
Vincent Penquerc'h
44d001346a
flxmux: port to GstCollectPads2
2011-12-14 18:52:37 +00:00
Vincent Penquerc'h
a89e2b7e48
avimux: port to GstCollectPads2
2011-12-14 18:38:09 +00:00
Mark Nauwelaerts
ebfc77da19
matroskademux: filter bogus index entries with missing block number
...
... to avoid contradictory information resulting in seeks sending more
downstream than needed for the corresponding segment.
2011-12-13 18:20:49 +01:00
Mark Nauwelaerts
00ed34d2eb
matroskademux: cater for safer arithmetic with global start time
2011-12-13 18:20:47 +01:00
Mark Nauwelaerts
fd88096577
matroskademux: tweak final closing segment sending
...
... to avoid it interfering with (sparse) stream syncing.
2011-12-13 18:20:44 +01:00
Thiago Santos
4a5364d7f6
qtmux: make debug message more useful
...
Add information about the taglist and which pad received the
tag event on the debug logging.
2011-12-13 10:21:31 -03:00
Vincent Penquerc'h
ecec3859d8
wavparse: avoid using floating point unnecessarily
...
https://bugzilla.gnome.org/show_bug.cgi?id=665911
2011-12-13 13:01:03 +00:00
Vincent Penquerc'h
b612550379
wavparse: fix format specifier signedness
...
Use unsigned specifiers for all unsigned values.
A lot of the values used here are unsigned, and some can take
high enough values that their signed counterpart will be negative.
https://bugzilla.gnome.org/show_bug.cgi?id=665911
2011-12-13 13:01:03 +00:00
Vincent Penquerc'h
734e352b73
wavparse: add a ignore-length property
...
This allows playing broken streams which write an incorrect
length in their data chunks (such as, at least, one streaming
camera).
https://bugzilla.gnome.org/show_bug.cgi?id=665911
2011-12-13 13:01:03 +00:00
Mark Nauwelaerts
581ca6ce4e
matroskademux: mind (un)signed in some timestamp arithmetic
...
... to avoid ending up with invalid (negative) duration.
2011-12-12 15:23:50 +01:00
Mark Nauwelaerts
ed3f89fad5
qtdemux: increase parse tolerance for fuzzy file cases
2011-12-12 15:23:33 +01:00
Tim-Philipp Müller
b8b8454bcb
Suppress deprecation warnings in selected files, for g_static_rec_mutex_* mostly
...
GStaticRecMutex is part of our API/ABI, not much we can do here
in 0.10 for most of these.
2011-12-12 09:46:27 +00:00
Tim-Philipp Müller
330d984288
Use g_thread_try_new() instead of g_thread_crate() with newer glib versions
2011-12-12 09:46:27 +00:00
Tim-Philipp Müller
f60eb9ae2c
alpha: use new glib API for static mutex if available
2011-12-12 09:46:27 +00:00
Tim-Philipp Müller
66f6e12888
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'll change these
over to the new API once we depend on glib >= 2.32.
2011-12-12 09:46:27 +00:00
Wim Taymans
9e27b122d9
ssrcdemux: fix iterator and caps
2011-12-10 11:13:38 +01:00
Wim Taymans
da980884dd
rtpsession: forward the caps event
2011-12-10 11:13:38 +01:00
Wim Taymans
a705b2ec17
jitterbuffer: simply forward the caps event
...
forward the caps event we get as input instead of making a new event etc..
2011-12-10 11:13:38 +01:00
Wim Taymans
68588c3f18
rtpsession: forward caps
2011-12-10 11:13:38 +01:00
Wim Taymans
6ac5e1ae16
rtp: pass parent to setcaps methods
2011-12-10 11:13:38 +01:00
Tim-Philipp Müller
501642dd63
law: fix CFLAGS and LIBS order in Makefile.am
2011-12-09 12:19:13 +00:00
Tim-Philipp Müller
b50bee2617
Merge remote-tracking branch 'origin/master' into 0.11
2011-12-09 12:15:30 +00:00
Wim Taymans
439e2f1cfd
rtp: fix marshallers
...
Remove custom marshallers for minobject.
Init RTCP buffer correctly.
Handle results from setcaps
Remove asserts.
2011-12-09 10:51:14 +01:00
Wim Taymans
7f51236346
law: fix negotiation
2011-12-09 10:50:18 +01:00
Tim-Philipp Müller
c363ae8254
matroskamux: stream-format=raw goes with aac caps, not mp3 caps
2011-12-08 11:00:45 +00:00
Tim-Philipp Müller
668e15598b
Merge remote-tracking branch 'origin/master' into 0.11
...
Conflicts:
sys/v4l2/gstv4l2object.c
2011-12-08 01:28:26 +00:00
Stefan Sauer
b5324c288b
docs: add add the two enum values that were just added too
2011-12-06 16:47:25 +01:00
Stefan Sauer
64dd9f18a7
multifilesink: expose the enum property docs for splitting mode.
...
Fixes #665666 .
2011-12-06 16:16:12 +01:00
Wim Taymans
b1d771cf8c
h263pay: fix invalid return value
2011-12-06 14:23:30 +01:00
Wim Taymans
d0b936acc7
rtspsrc: remove unused flush param
2011-12-06 13:59:52 +01:00
Edward Hervey
86961d5986
rtpxqtdepay: Initialize GstRTPBuffer before usage
2011-12-05 18:40:26 +01:00
Edward Hervey
86a57e3546
rtpmanager: Initialize GstRTPBuffer before usage
2011-12-05 18:40:12 +01:00
Edward Hervey
04520cbe9a
rtp: Initialize GstRTPBuffer before usage
2011-12-05 18:39:59 +01:00
Sebastian Rasmussen
c090201ca5
rtpjpegpay: Ceil jpeg dimensions, instead of floor
...
A JPEG image inside an RTP stream has a preceeding RFC2435 header that
conveys width/height. The dimensions in this header are limited to be
multiples of 8. Since JPEG uses an MCU of 8x8 pixels any image must
already indirectly have image data dimensions that are rounded up in
order to contain enough data to render the image. Therefore this fix
safely rounds the image dimensions in the RFC2435 header up to the
closest multiple of 8.
2011-12-05 10:48:54 +01:00
Vincent Penquerc'h
0249a73a3e
flacparse: ensure we only check for sample/block mixup at start
...
Otherwise we might trigger at some point within the file, but the
check is only making sense for the second block.
2011-12-04 12:50:57 +00:00
Vincent Penquerc'h
3e2b23280e
matroskaparse: warn if accumulating headers after they were pushed
...
https://bugzilla.gnome.org/show_bug.cgi?id=665412
2011-12-03 18:44:39 +00:00
David Schleef
94b8f0b74e
matroskaparse: fix parsing
...
Mark more parts as belonging to streamheaders.
2011-12-03 10:40:03 -08:00
Vincent Penquerc'h
7a7db8cbaf
flvdemux: fix discontinuity threshold check when timestamps go backwards
...
Since unsigned types are used, a negative value would show as very, very
positive.
Fixes A/V sync on some... less than well made files where timestamps go
backwards.
2011-12-03 17:30:10 +00:00
Wim Taymans
1538803ac4
update for basesink event handler changes
2011-12-02 22:25:17 +01:00
Tim-Philipp Müller
d895ac645f
Merge remote-tracking branch 'origin/master' into 0.11
...
Conflicts:
docs/plugins/inspect/plugin-esdsink.xml
docs/plugins/inspect/plugin-gconfelements.xml
ext/pulse/pulseaudiosink.c
gst/matroska/matroska-demux.c
gst/matroska/matroska-mux.c
gst/multifile/gstmultifilesink.c
2011-12-02 01:58:30 +00:00
Wim Taymans
f1558baf83
update for tag API changes
2011-12-01 18:55:45 +01:00
Vincent Penquerc'h
47182ca61f
matroskademux: placate gcc since -Werror is used
...
Initialize values that GCC cannot prove are not used without
being initialized, and assert that I did not mess up my proof.
2011-12-01 15:29:15 +00:00
Tim-Philipp Müller
337533ee84
matroska-mux: fix name of new property and the unit test
...
https://bugzilla.gnome.org/show_bug.cgi?id=654379
2011-12-01 13:22:42 +00:00
Tim-Philipp Müller
ab96fb7cdb
multifilesink: add basic buffer list handling
...
We assume for now that all buffers in a buffer list
should end up in the same file (so we can group GOPs
in buffer lists, for example). Could optimise this
a bit to avoid the memcpy.
2011-12-01 12:50:58 +00:00
Tim-Philipp Müller
82ac47f33f
multifilesink: write stream-headers when switching to the next file in max-size mode
2011-12-01 12:50:58 +00:00
Tim-Philipp Müller
bced3c218a
multifilesink: add new 'max-size' mode for switching to the next file
2011-12-01 12:50:58 +00:00
Tim-Philipp Müller
5ffee06f14
multifilesink: add "max-file-size" property for new next-file mode
2011-12-01 12:50:58 +00:00
Sebastian Dröge
6ec601fa12
matroskademux: Don't forget SSA subtitles in last commit
2011-12-01 13:38:06 +01:00
Sebastian Dröge
588734b291
matroskademux: Only check for markup and escape if necessary for plaintext subtitles
...
Otherwise we break USF and ASS/SSA subtitles.
2011-12-01 13:35:54 +01:00
Alessandro Decina
91834bf80b
multifile: fix build in uninstalled setup
...
Add -base libs includes to CFLAGS, fix order of LIBS <cit>.
2011-12-01 13:25:45 +01:00
Alessandro Decina
ed98755241
multifilesink: add flag to cut after a force key unit event
2011-12-01 13:25:45 +01:00
Sebastian Dröge
6d4a634626
matroskademux: Copy all buffer flags when creating a subtitle buffer copy after postprocessing
...
This also copies the caps. Otherwise we could end up pusing
the first buffer without any caps, which causes downstream
to not get notified about the caps.
Fixes bug #664892 .
2011-12-01 12:47:26 +01:00
Alexey Fisher
23594b0324
matroskamux: make default framerate optional per stream
...
there is at least two use cases where default frame rate
should or may be disabled:
- vp8 stream with altref frame enabled. If default frame rate
is enabled, some players will missinterprete it (critical!)
- for webm container, to reduce micro overhead
- for stream with variable frame rate.
Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
2011-12-01 10:55:57 +01:00
Stefan Sauer
c0e17dff4f
rippletv: fix CLAMP end-values
2011-11-30 22:14:01 +01:00
Tim-Philipp Müller
0584ae8f98
splitfilesrc: specify filenames via normal wildcards instead of regular expressions
...
Less cracktastic in the end.
2011-11-30 19:11:12 +00:00
Tim-Philipp Müller
e6c4979a42
splitfilesrc: check bytes actually read, just in case
...
Handle corner case where we try to read beyond the end of the
last file part, in which case we want to return a short read.
If we get fewer bytes than expected for any other file part,
we should just error out, since something fishy's going on
then.
2011-11-30 16:39:33 +00:00
Tim-Philipp Müller
a595df5daa
splitfilesrc: set offsets on buffers
...
Looks like some parsers (in some versions at least) expect the
offsets to be set, and behave weird if that's not the case
(e.g. off-by-one in h264parse).
2011-11-30 16:39:33 +00:00
Tim-Philipp Müller
2dd67036e5
multifile: add splitfilesrc element
...
Add new splitfilesrc element that presents multiple files
(selectable via a location regex) as one single contiguous
file.
2011-11-30 16:39:33 +00:00
Wim Taymans
710491109d
fix for moved interfaces
2011-11-29 19:10:58 +01:00
Tim-Philipp Müller
04887268c8
Merge commit 'a2337b8af45cb5e8c091ff0e1c3ef4b6cc7b20a3' into 0.11
2011-11-28 21:27:40 +00:00
Wim Taymans
c36325f0aa
Update for indexable change
2011-11-28 18:25:52 +01:00
Wim Taymans
71b615515a
update for clock provider API change
2011-11-28 17:52:06 +01:00
Wim Taymans
ac849ec2b3
fix for element flag updates
2011-11-28 16:57:24 +01:00
Vincent Penquerc'h
c0e101e93f
various: fix pad template leaks
...
https://bugzilla.gnome.org/show_bug.cgi?id=662664
2011-11-28 13:30:27 +00:00
Chad
a2337b8af4
taginject: set gap-aware
...
The element does not modify the data anyway.
2011-11-28 11:47:11 +01:00
Tim-Philipp Müller
dc540c23da
Merge remote-tracking branch 'origin/master' into 0.11
...
Conflicts:
gst/equalizer/gstiirequalizer.c
2011-11-27 23:31:43 +00:00
Stefan Sauer
b5bf029401
equalizer: also sync the parameters for the filter bands
2011-11-26 21:40:22 +01:00
Tim-Philipp Müller
54a951ff15
matroskademux: initialise seen_markup_tag field on subtitle stream context
2011-11-26 16:06:59 +00:00
René Stadler
17240ac9ec
matroska: port to 0.11
...
Support for TAG_IMAGE and TAG_ATTACHMENT is commented out; this requires caps
on buffers which is gone from 0.11.
Segment handling in the demuxer is a bit complex; I added some FIXME comments
in places where I'm not yet sure if I ported correctly.
2011-11-26 15:01:01 +01:00
Tim-Philipp Müller
be0d6baac5
Merge remote-tracking branch 'origin/master' into 0.11
...
Conflicts:
ext/pulse/pulseaudiosink.c
ext/pulse/pulsesrc.c
gst/audioparsers/gstaacparse.c
gst/audioparsers/gstamrparse.c
gst/audioparsers/gstdcaparse.c
gst/audioparsers/gstflacparse.c
gst/effectv/gstradioac.c
gst/effectv/gstradioac.h
gst/effectv/gstripple.c
Some possible FIXMEs remaining in the audio parser getcaps functions.
2011-11-26 13:34:10 +00:00
Thiago Santos
a3bc431924
ismlmux: Use iso-fragmented as variant type
...
Using 'iso' conflicts with mp4mux variant type, ismlmux now
uses iso-fragmented
Fixes #656823
2011-11-25 19:29:31 -03:00
Vincent Penquerc'h
21d3faa400
flvdemux: fix seeking
...
Which I accidentally broke when fixing flv videos breaking on
spurious timestamp discontinuities in broken files.
https://bugzilla.gnome.org/show_bug.cgi?id=631430
2011-11-25 16:03:59 +00:00
Stefan Sauer
ebefb140b9
effectv: repair color modes in radioactv by taking rgb,bgr into account
2011-11-25 13:13:47 +01:00
Stefan Sauer
c1d38ea8d4
radioactv: add one more set of caps
...
It also work in this format. Avoids the need for conversion.
2011-11-25 11:44:49 +01:00
Stefan Sauer
3295482afd
effecttv: fix reverse negotiation
...
The plugins were using _fixed_caps_ and thus not adjusting to new upstream
sizes. Spotted by Tim Müller.
2011-11-25 11:44:18 +01:00
Stefan Sauer
5d03d65349
warptv: remove not needed ifdef
2011-11-25 11:43:16 +01:00
Stefan Sauer
f0fe717cd9
rippletv: clean up the rendering code a bit
...
This is corrrupts the memoy when resizing. Add a FIXME to make it resizeable
once that is solved.
2011-11-25 10:15:35 +01:00
Stefan Sauer
b6de7baeb6
effecttv: fix reverse negotiation
...
The plugins were using _fixed_caps_ and thus not adjusting to new upstream
sizes. Spotted by Tim Müller.
2011-11-24 20:44:38 +01:00
Thiago Santos
230ce4367f
multifilesink: Fix leak of filename strings
...
Do not forget to free the filename strings when deleting
the list of files.
2011-11-24 14:18:44 -03:00
Vincent Penquerc'h
b33da78f72
wavparse: skip id32 tags
...
This allows decoding at least one sample where something has
stuffed some ID3 tag before the (supposedly initial) FMT\ .
https://bugzilla.gnome.org/show_bug.cgi?id=660249
2011-11-24 17:07:23 +00:00
Vincent Penquerc'h
cbbabd6ccc
edgetv: trivial comment fix for clarity
...
https://bugzilla.gnome.org/show_bug.cgi?id=661841
2011-11-24 10:43:25 +01:00
Vincent Penquerc'h
852104b4ee
edgetv: don't leave bits of the output buffer uninitialized
...
Let's initialize them to zero. It looks alright, but then it
also looks alright with v3, or with the corresponding pixels
from the source. I don't know what the original intent would
be, and the original effectv source also has this bug/feature.
https://bugzilla.gnome.org/show_bug.cgi?id=661841
2011-11-24 10:43:25 +01:00
Sebastian Dröge
6204464735
audioparse: Use the sinkpad template caps as fallback, not the srcpad ones
2011-11-24 10:25:02 +01:00
Sebastian Dröge
c114e7c073
mpegaudioparse: Implement ::get_sink_caps vfunc to propagate downstream caps constraints upstream
2011-11-24 09:59:40 +01:00
Sebastian Dröge
996b4eb4cc
flacparse: Implement ::get_sink_caps vfunc to propagate downstream caps constraints upstream
2011-11-24 09:57:57 +01:00
Sebastian Dröge
e6a2129977
dcaparse: Implement ::get_sink_caps vfunc to propagate downstream caps constraints upstream
2011-11-24 09:55:47 +01:00
Sebastian Dröge
c5b770df09
amrparse: Implement ::get_sink_caps vfunc to propagate downstream caps constraints upstream
2011-11-24 09:53:18 +01:00
Sebastian Dröge
5203b0884a
amrparse: Mark some more functions as static
2011-11-24 09:49:27 +01:00
Sebastian Dröge
fabc5c969b
ac3parse: Implement ::get_sink_caps vfunc to propagate downstream caps constraints upstream
2011-11-24 09:48:33 +01:00
Sebastian Dröge
48b07ae434
aacparse: Mark some functions as static and remove unused function declarations
2011-11-24 09:44:58 +01:00
Sebastian Dröge
94daabf71f
aacparse: Implement ::get_sink_caps vfunc to propagate downstream caps constraints upstream
2011-11-24 09:43:54 +01:00
Tim-Philipp Müller
87aa29d2cf
rtspsrc: make connection-speed property a guint64
2011-11-24 01:19:32 +00:00
Tim-Philipp Müller
09ca5fa910
rtpmanager: rename gstrtp* -> rtp*
...
This was done in 0.10 to avoid conflict with the rtp elements in
farsight, but the gst-prefixing is no longer needed in 0.11
2011-11-24 00:54:08 +00:00
Wim Taymans
c5cad2aff2
Merge branch 'master' into 0.11
2011-11-23 10:23:28 +01:00
Tim-Philipp Müller
80be58c4f5
matroskaparse: don't leak stream headers
...
https://bugzilla.gnome.org/show_bug.cgi?id=664548
2011-11-23 01:00:14 +00:00
Matej Knopp
1e5dd9e315
Fix printf format compiler warnings on OS X / 64bit
...
https://bugzilla.gnome.org/show_bug.cgi?id=662615
2011-11-22 01:28:22 +00:00
Wim Taymans
f8e988a94c
update for activation changes
2011-11-21 13:37:01 +01:00
Wim Taymans
6e4fb21331
update for new scheduling query
2011-11-18 17:59:16 +01:00
Wim Taymans
b7aa7bca52
add parent to activate functions
2011-11-18 13:57:20 +01:00
Wim Taymans
0a43cfedef
qtdemux: activate pad before setting caps
...
Seting caps on an inactive flushing pad does nothing.
2011-11-17 17:36:05 +01:00
Wim Taymans
07cc855b24
Merge branch 'master' into 0.11
...
Conflicts:
ext/speex/gstspeexenc.c
gst/rtpmanager/rtpsession.c
2011-11-17 17:17:11 +01:00
Wim Taymans
105650127e
add parent to pad functions
2011-11-17 15:02:55 +01:00
Stefan Sauer
8643d1caaf
collectpads: port API changes
2011-11-17 08:44:45 +01:00
Wim Taymans
7cc4b72550
add parent to internal links
2011-11-16 17:54:49 +01:00
Wim Taymans
6190312214
add parent to query function
2011-11-16 17:27:13 +01:00
Wim Taymans
445d4d8573
goom: update for renamed flags
...
Use the _check_reconfigure method instead of checking flags.
Don't need to ref the parent anymore, core does that.
2011-11-16 12:40:08 +01:00
Wim Taymans
e7918a5aba
_query_peer_*() -> _peer_query_*()
2011-11-15 18:04:44 +01:00
Wim Taymans
797523efbd
_peer_get_caps() -> _peer_query_caps()
2011-11-15 18:04:44 +01:00
Wim Taymans
b2d508ac40
update for _get_caps() -> _query_caps()
2011-11-15 18:04:44 +01:00
Wim Taymans
75dc9634eb
change getcaps to query
...
Chain up event function in payloaders.
2011-11-15 18:04:44 +01:00
Vincent Penquerc'h
011c33e91e
flacparse: detect when a file lies about fixed block size
...
If the sample/block number happens to be the same as the block
size, we assume variable block size, and thus counters in samples
in the headers. This can only get us a false positive for a block
size of 1, which is invalid. We can get false negatives more
often though (eg, if not starting at the start of the stream),
but then that's already GIGO.
2011-11-14 15:53:36 +00:00
Olivier Crête
1169bb05af
gstrtpsession: Add special mode to use FIR as repair as Google does
...
https://bugzilla.gnome.org/show_bug.cgi?id=658419
2011-11-14 12:26:27 +01:00
Olivier Crête
79a9564c68
rtpsession: Send FIR requests in response to key unit requests with all-headers=TRUE
...
https://bugzilla.gnome.org/show_bug.cgi?id=658419
2011-11-14 12:26:27 +01:00
Olivier Crête
12a6b9613b
rtpsession: Put the PLI requests in each RTPSource
...
Also refactor a bit and put all the keyframe request code in one
place inside rtpsession.c
https://bugzilla.gnome.org/show_bug.cgi?id=658419
2011-11-14 12:26:27 +01:00
Olivier Crête
59c028a4ce
rtpsession: Hack to FIR because Google doesn't set the sender ssrc correctly
...
https://bugzilla.gnome.org/show_bug.cgi?id=658419
2011-11-14 12:26:27 +01:00
Olivier Crête
0ad78db0a3
rtpsession: Process received Full Intra Requests
...
Process FIR requests according to RFC 5104
https://bugzilla.gnome.org/show_bug.cgi?id=658419
2011-11-14 12:26:27 +01:00
Tim-Philipp Müller
c27bbe4be2
Update for GstURIHandler get_protocols() changes
2011-11-13 23:44:44 +00:00
Tim-Philipp Müller
a150d1e734
soup, pushfile, rtsp, udp, v4l2: update for GstURIHandler API changes
2011-11-13 18:50:51 +00:00
Wim Taymans
af1eec2ece
rtp: fix for rtp header changes
2011-11-11 19:21:50 +01:00
Wim Taymans
e84b8dbe94
update for base class rename
2011-11-11 12:32:41 +01:00
Wim Taymans
249d0083cc
update for base class rename
2011-11-11 12:25:01 +01:00
Wim Taymans
9daea802fa
fix for ringbuffer rename
2011-11-11 11:33:44 +01:00
Stefan Sauer
9ce6c731c3
various: add missing includes
2011-11-10 23:09:23 +02:00
Wim Taymans
7e12b58e37
update for adapter api changes
2011-11-10 18:32:58 +01:00
Wim Taymans
fbaf216d25
update for changed base classes
2011-11-10 17:23:47 +01:00
Wim Taymans
221ea2fc44
Merge branch 'master' into 0.11
2011-11-09 17:40:10 +01:00
Vincent Penquerc'h
f4506d5181
avidemux: fix wrong stride when inverting uncompressed video
...
Such frames have a stride multiple of 4, see
http://lscube.org/pipermail/ffmpeg-issues/2010-April/010247.html .
This showed up on a sample using a odd width of 24 bit video.
https://bugzilla.gnome.org/show_bug.cgi?id=652288
2011-11-09 11:43:41 +00:00
Wim Taymans
85e73e0818
h263ppay: report to 0.11
2011-11-09 12:25:01 +01:00
Wim Taymans
95f3987332
Merge branch 'master' into 0.11
...
Conflicts:
ext/flac/gstflacdec.c
gst/audioparsers/gstflacparse.c
gst/isomp4/qtdemux.c
2011-11-09 12:18:01 +01:00
Wim Taymans
49658dd5b5
remove query types
2011-11-09 11:53:01 +01:00
Mark Nauwelaerts
9c3516116a
qtdemux: minimal sanity check on creation datetime
2011-11-09 10:33:18 +01:00
Olivier Crête
e15c293f13
rtph263ppay: Return the sink pad template as sink caps, not the src's
...
https://bugzilla.gnome.org/show_bug.cgi?id=577784
2011-11-08 15:53:39 +01:00
Olivier Crête
4b28d9d44e
rtph263ppay: Also implement size/framerate restrictions in getcaps
...
https://bugzilla.gnome.org/show_bug.cgi?id=577784
2011-11-08 15:53:18 +01:00
Olivier Crête
ff31090671
rtph263ppay: Implement getcaps following RFC 4629, picks the right annexes
...
https://bugzilla.gnome.org/show_bug.cgi?id=577784
2011-11-08 15:52:57 +01:00
Mark Nauwelaerts
4946cc5e7f
qtdemux: also set segment stop at startup rather than only post seek
...
... so as to ensure consistent playback with or without seek, especially
in presence of some bogus edit list entries.
2011-11-08 14:58:09 +01:00
Wim Taymans
c48df77320
update for probe api changes
2011-11-08 11:18:06 +01:00
Stefan Sauer
931354215e
goom: code cleanups
...
Move variables to the scope where they are needed. Use our macros and functions
more.
2011-11-08 09:44:00 +01:00
Stefan Sauer
3e82471125
goom: add a sink_query to eat allocation queries
...
We should not forward allocation queries for audio to the video sink.
2011-11-08 09:44:00 +01:00
Raul Gutierrez Segales
91af805636
gst/flv/: add amfdefs.h to noinst_HEADERS
...
https://bugzilla.gnome.org/show_bug.cgi?id=663334
2011-11-07 17:28:38 +00:00
Wim Taymans
de020130e6
fix for probe updates
2011-11-07 17:14:17 +01:00
Vincent Penquerc'h
cf3f3f14da
flvdemux: detect large pts gaps and resync
...
Should work on multiple gaps, but tested on only one.
https://bugzilla.gnome.org/show_bug.cgi?id=631430
2011-11-07 12:38:49 +00:00
Vincent Penquerc'h
14a9d1d66e
flacparse: fix last frame timestamp in fixed block size mode
...
The last block may have a different block size, so we should not
use it to scale or we'll end up with a wrong timestamp.
See comment and quote from the FLAC format documentation in the code.
Fixes looped playback of FLAC files (via about-to-finish).
https://bugzilla.gnome.org/show_bug.cgi?id=661215
2011-11-07 12:37:10 +00:00
René Stadler
2a139a28d9
matroskamux: fix regression causing malformed files
...
This was caused by me in 1b213d. It seems I was too focused on 0.11 when I did
this and tested the wrong branch.
The problem was reported by Alexey Fisher.
2011-11-07 12:00:12 +01:00
Stefan Sauer
fb162c8eb4
controller: port to new controller location and api
2011-11-04 20:15:48 +01:00
Wim Taymans
768e3826ab
more template fixes
2011-11-04 17:39:15 +01:00
Wim Taymans
a19a4a69ae
more template fixes
2011-11-04 13:12:37 +01:00
Wim Taymans
a95acb7122
make %u in all request pad templates
2011-11-04 11:58:22 +01:00
Edward Hervey
1e727429a8
Port apedemux
2011-11-04 10:32:46 +01:00
Tim-Philipp Müller
d65490dfad
rtp: use GLib's G_BIG_ENDIAN define instead of BIG_ENDIAN
...
Fixes compiler warning on mingw32
2011-11-03 23:28:31 +00:00
Wim Taymans
6cbd6afc0b
update for new net library
2011-11-03 16:43:00 +01:00
Wim Taymans
e038ab5a0b
tags: update for tag API removal
2011-11-02 12:09:20 +01:00
Wim Taymans
22eb0d2300
Merge branch 'master' into 0.11
2011-11-02 10:40:12 +01:00
Wim Taymans
83ccefb24e
update for netbuffer api change
2011-11-02 09:06:38 +01:00
Wim Taymans
75e0c6052f
update for netaddress change
2011-11-02 09:06:38 +01:00
Wim Taymans
b1ef7e8a86
update for meta api change
2011-11-02 09:06:37 +01:00
Wim Taymans
0560ab53c0
update for new task api
2011-11-02 09:06:37 +01:00
Wim Taymans
9a8a8e72c8
structure: fix for api update
2011-11-02 09:06:37 +01:00
Wim Taymans
161310fa23
bufferlist: update for new API
2011-11-02 09:06:37 +01:00
Tim-Philipp Müller
9f77b02b15
Update for pad API changes
...
GstProbeType, GstProbeReturn and GstActivateMode -> GstPad*
2011-11-01 00:52:28 +00:00
René Stadler
cf771ab7ae
ac3parse: fix obvious crash
2011-10-31 18:39:35 +01:00
Mark Nauwelaerts
57684fee3a
qtmux: avoid shortcut evaluation when adding paired mp4 tag
...
Fixes (part of) #638711 .
2011-10-31 16:25:59 +01:00
Mark Nauwelaerts
00c8ae733d
matroskamux: do not use unoffical V_MJPEG codec id
...
... but as not spec'ed especially, consider it a VfW compatibility case.
Fixes #659837 .
2011-10-31 15:47:14 +01:00
Tim-Philipp Müller
9cd17092d8
ext, gst: update for taglist API changes
2011-10-30 11:44:53 +00:00
René Stadler
3b6de2bacd
audiopanorama: simplify get_unit_size
2011-10-28 21:26:33 +02:00
René Stadler
8809965204
audioecho: fix internal buffer size calculation
2011-10-28 21:22:38 +02:00
Wim Taymans
d40e915449
Merge branch 'master' into 0.11
2011-10-28 16:52:08 +02:00
René Stadler
42f401a7eb
audiofx: fix crash in process()
2011-10-28 13:08:48 +02:00
Mark Nauwelaerts
96fc28eacd
qtdemux: elaborate some debug statements
2011-10-28 12:31:17 +02:00
Stas Sergeev
6b168ffb44
flvdemux: be careful with negative cts
...
Fixes #661477 .
2011-10-28 12:31:15 +02:00
Mark Nauwelaerts
4924308d02
matroskademux: tune non-update seek handling cases
...
Fixes #661049 .
2011-10-28 12:13:51 +02:00
Wim Taymans
05c025de6d
Merge branch 'master' into 0.11
...
Conflicts:
gst/videomixer/gstcollectpads2.c
2011-10-28 11:46:40 +02:00
René Stadler
9b94fc3102
audiodynamic: don't set process function too early
...
GstAudioInfo and GstAudioFilter have been changed so that this code doesn't
crash anymore when a property is set in NULL state.
2011-10-28 11:25:37 +02:00
René Stadler
7dba29cbd3
audiopanorama: fix get_unit_size
2011-10-28 11:25:37 +02:00
Sebastian Dröge
c603bf9891
videomixer2: Use the clip function instead of the prepare_buffer function
2011-10-28 10:40:36 +02:00
Tim-Philipp Müller
d18a578ba4
rtpmanager, v4l2: fix compiler warnings after gst_caps_new_simple() change
2011-10-28 09:06:41 +01:00
Tim-Philipp Müller
b0f43f43d4
qtdemux: fix compiler warnings after gst_caps_new_simple() change
2011-10-28 09:06:28 +01:00
Sebastian Dröge
ae07ebedc9
videomixer2: Use collectpads2 from core
2011-10-28 09:36:17 +02:00
René Stadler
70420b0661
wavenc: port to 0.11 raw audio caps
2011-10-27 19:40:09 +02:00
Wim Taymans
facda96308
Merge branch 'master' into 0.11
...
Conflicts:
gst/flv/gstflvmux.c
2011-10-27 19:06:06 +02:00
Wim Taymans
9c14280b1d
make some more things compile again
2011-10-27 19:00:52 +02:00
Wim Taymans
4b6a226263
Merge branch 'master' into 0.11
...
Conflicts:
ext/pulse/pulseaudiosink.c
ext/pulse/pulsesink.c
2011-10-27 16:08:22 +02:00
Wim Taymans
fc4684f4c6
fix compilation
2011-10-27 16:03:17 +02:00
Jan Schmidt
3b03db5e40
deinterlace: Don't pointlessly hold object lock over caps operations
...
Avoids a deadlock when getcaps is recursive due to the getcaps being
reflected upstream/downstream. The lock isn't actually protecting
anything here.
2011-10-28 00:41:45 +11:00
Jan Schmidt
f6255bb8d0
flvmux: add some comments and defines to clarify code.
2011-10-27 00:41:29 +11:00
René Stadler
1b213d905a
matroska: refactor ebml-write to be more 0.11 friendly
...
Switching to a more 0.11-friendly pattern, where getting the buffer's data
pointer and setting the size many times is less natural. This is of course in
preparation to the upcoming port of the plugin.
2011-10-21 23:17:16 +02:00
René Stadler
003a14e15a
matroska: remove stale floatcast include
...
GDOUBLE_TO_BE was moved to core a long time ago.
2011-10-21 22:41:57 +02:00
René Stadler
6fc85e6c9d
matroskamux: fix possible crash with malformed dirac codec_data
...
Since size is unsigned, we need to safeguard against wrapping below zero.
2011-10-21 22:41:57 +02:00
René Stadler
6082f27d48
equalizer: remove avoidable call to gst_object_set_name
2011-10-21 22:33:34 +02:00
René Stadler
dcd493279d
deinterlace: remove avoidable call to gst_object_set_name
2011-10-21 22:32:38 +02:00
Stefan Sauer
2468492f02
interfaces: clean up the use of iface and class/klass
2011-10-21 14:58:41 +02:00
René Stadler
5baca05ec3
ebml: small correction to previous commit
...
Signal a short read with UNEXPECTED, exactly like the peek_bytes function.
2011-10-21 10:03:14 +02:00
Edward Hervey
4b5f8ff8d1
ebml: Fix push-based behaviour
...
The 'peek' method was completely wrong (!?)
2011-10-19 13:10:47 +02:00
Wim Taymans
7e43e99726
videocrop: fix compilation
2011-10-16 15:32:50 +02:00
Wim Taymans
ddd58a4035
Merge branch 'master' into 0.11
...
Conflicts:
gst/rtp/gstrtpvrawdepay.c
2011-10-16 15:26:38 +02:00
Arun Raghavan
cc7aeb3f33
videomixer2: Fix a leak
...
Buffers weren't being unref'ed in one case inside, causing memory usage
to blow up.
2011-10-14 13:10:49 +05:30
Marc Leeman
98075ad70d
set colour masks for video/x-raw-rgb in rtpvrawdepay
2011-10-14 09:32:47 +02:00
Thiago Santos
0196fb4668
aspectratiocrop: Port to 0.11
2011-10-13 15:37:47 -03:00
Thiago Santos
04080866aa
videocrop: Port to 0.11
2011-10-13 15:37:47 -03:00
Arun Raghavan
4d3ee9005c
videomixer2: Fix incorrect gst_buffer_replace() call
...
This got exposed when gst_buffer_replace() was changed from a macro to a
function.
2011-10-13 16:59:50 +05:30
Edward Hervey
d4a2a46606
rtpssrcdemux: Fix wrong usage of gst_iterator_filter
...
It takes a GValue* as the user_data.
And don't forget to unref the demuxer before returning.
2011-10-13 09:34:04 +02:00
Wim Taymans
a5cc912140
Merge branch 'master' into 0.11
...
Conflicts:
ext/jpeg/gstjpegdec.c
gst/rtp/gstrtpvrawpay.c
2011-10-13 08:58:06 +02:00
Edward Hervey
1b56d40170
rtpvrawpay: Only use 24 LSB for depth=24 RGB caps
...
... and indent the masks for clarity
2011-10-12 11:26:50 +02:00
René Stadler
26d0812543
matroskamux: fix segment handling, so we actually use running time
...
gst_matroska_mux_best_pad adjusts the buffer timestamp to running time using
the segment stored in the pad's collect data. However, the event handler didn't
pass the newsegment event on to collectpads' handler, so this segment was never
updated at all.
Re-fixes bug #432612 .
2011-10-11 14:58:43 +02:00
Sjoerd Simons
bf65acf11f
gstrtpg722pay: Compensate for clockrate vs. samplerate difference
...
The RTP clock-rate used for G722 is 8000, even though the samplerate is
16000. Compensate for this by pretending G722 has 8 bits per sample
instead of the 4 bits as if it were a codec that ran at half the speed,
but with twice the number of bits. Fixes #661376
2011-10-10 21:50:28 +01:00
Tim-Philipp Müller
ad245a0dc2
matroska-demux: don't leak audio codec_data buffer
2011-10-10 19:02:58 +01:00
Edward Hervey
919dcf405d
alpha: Don't use start() vmethod
...
The only thing we're doing is initializing parameters ...
* which won't work because we don't have upstream/downstream caps
* which will be initialized when ::set_caps() is called
2011-10-10 17:42:02 +02:00
Wim Taymans
0577e069c2
id3demux: port to 0.11
2011-10-10 13:22:12 +02:00
Wim Taymans
31180790d6
icydemux: port to 0.11
2011-10-10 12:54:22 +02:00
Tim-Philipp Müller
8c762dabb2
Merge remote-tracking branch 'origin/master' into 0.11
2011-10-09 16:29:05 +01:00
Tim-Philipp Müller
309b5fa0c1
qtdemux: update for __gst_debug_min name change
2011-10-09 16:25:15 +01:00
Thiago Santos
ca417fd376
qtmux: Fix memory leak on atoms recovery function
...
Remember to free the ftyp data after writing it to a file.
Fixes #660969
2011-10-09 11:18:18 -03:00
Wim Taymans
94021224fc
qtmux: report new bits
2011-10-06 12:26:33 +02:00
Wim Taymans
586ef0babd
Merge branch 'master' into 0.11
...
Conflicts:
ext/speex/gstspeexdec.c
ext/speex/gstspeexenc.c
gst/isomp4/atoms.c
gst/isomp4/gstqtmux.c
2011-10-06 12:23:39 +02:00
Vincent Penquerc'h
be82dd8e3a
matroskademux: improve segment handling with non-zero starting timestamp
...
... as well as related items, such as seeking and position reporting.
https://bugzilla.gnome.org/show_bug.cgi?id=659808
2011-10-05 14:34:55 +02:00
Thiago Santos
535f92a0a4
qtmux: update esds atom under wave atom for aac bitrates
...
AAC in mov format puts an ESDS atom inside of a WAVE atom in
STSD atom, we need to update the bitrate on this ESDS. This patch
fixes it.
2011-09-30 13:05:24 -03:00
Thiago Santos
31acc88b39
qtmux: Also update btrt atom
...
When rewriting bitrates, also update the btrt atom under stsd
2011-09-30 13:05:24 -03:00
Thiago Santos
7a143ea94f
qtmux: Calculate average bitrate for streams
...
Calculate and use average bitrate for streams when no
bitrate tag was received
2011-09-30 12:43:13 -03:00
Thiago Santos
4737090594
qtmux: Avoid a buffer metadata copy if possible
...
If first_ts is 0 there is no need to subtract, so we might
skip some copying to make the buffer metadata writable.
2011-09-30 12:43:13 -03:00
Wim Taymans
2e069225b9
Merge branch 'master' into 0.11
2011-09-28 16:18:54 +02:00
Vincent Penquerc'h
671b56f9da
matroskademux: ensure minimal alignment for audio/x-raw-* buffers
...
Since matroskademux will attempt to push unaligned buffers,
downstream might have trouble with those, especially if downstream
uses ORC, such as audioconvert.
Ensure we push buffers aligned to the basic type at least for
those raw buffers.
https://bugzilla.gnome.org/show_bug.cgi?id=659798
2011-09-28 12:49:42 +02:00
Wim Taymans
87fbd1e784
Merge branch 'master' into 0.11
...
Conflicts:
common
ext/pulse/pulsesink.c
ext/soup/gstsouphttpclientsink.c
gst/audioparsers/gstaacparse.c
gst/audioparsers/gstac3parse.c
gst/rtp/gstrtph264depay.c
gst/rtpmanager/gstrtpjitterbuffer.c
gst/rtpmanager/rtpjitterbuffer.c
gst/rtsp/gstrtspsrc.c
sys/ximage/gstximagesrc.c
2011-09-28 12:44:59 +02:00
Raimo Järvi
827c3aa14b
goom2k1: Fix compiler warnings on 64 bit mingw-w64
...
Fixes bug #660294 .
2011-09-28 00:18:15 +01:00
Julien Isorce
2131a3b7f8
ac3parse: correctly check for ac3/e-ac3 switch
...
https://bugzilla.gnome.org/show_bug.cgi?id=659943
2011-09-23 16:26:50 +01:00
Mark Nauwelaerts
fd757890eb
rtph264depay: improve downstream flow return feedback to upstream
...
... although basertpdepay does not really make it easy/possible to do so
all the way.
2011-09-20 14:14:39 +02:00
Ha Nguyen
931020158e
rtpbin: Fix a leaked clock for each buffering message
...
Fixes bug #659237 .
2011-09-19 14:05:26 +02:00
Mark Nauwelaerts
d959bb6041
qtdemux: parse embedded ID32 tags
2011-09-19 12:11:45 +02:00
Mark Nauwelaerts
e2179cbb74
rtpsession: avoid source premature timing out
...
Use slightly adjusted sender interval to determine sender timeout rather than
our own sender side interval (which may have been forced small).
2011-09-19 11:56:44 +02:00
Mark Nauwelaerts
f65d4c8300
rtpsession: avoid timing out source too quickly
...
... following a PAUSE/PLAY cycle, particularly applicable when operating
with a short RTCP interval (possibly forced so server-side).
2011-09-19 11:56:44 +02:00