Sebastian Dröge
0c85f2c890
playsink: Don't fail if subtitles are used but only audio is available and no visualizations
...
Instead simply disable displaying of the subtitles for now, as was
intended by that part of code...
Fixes bug #610866 .
2010-05-14 17:17:33 +02:00
Sebastian Dröge
e5304c3040
playsink: Fix deadlock caused from an additional lock instead of unlock
...
Also improve debug output for the playsink lock.
2010-05-14 17:13:17 +02:00
Sebastian Dröge
a6a125e4ba
videoscale: Use passthrough mode if width and height are not changed
...
It doesn't matter if the PAR changes or not, processing of every pixel
is only necessary when the width or height changes.
2010-05-13 12:17:31 +02:00
Wim Taymans
9696af170f
riff: relax width and height constraints
...
Increase the acceptable video sizes from [16,4096] to [1, MAX].
See #618392
2010-05-13 12:06:41 +02:00
Sebastian Dröge
30b67cda5d
video: Use simple fraction multiplication functions instead of going through GValues
2010-05-13 11:16:02 +02:00
Sebastian Dröge
303566654e
videoscale: Add a unit test for checking if the negotiation works as expected
2010-05-13 11:16:02 +02:00
Sebastian Dröge
b3808a57d4
videoscale: Try harder to keep the DAR if possible
...
Fixes bug #371108 .
2010-05-13 11:16:02 +02:00
Sebastian Dröge
9f677090d5
videoscale: Log PAR and DAR of input and output caps when setting caps
2010-05-13 11:16:01 +02:00
Sebastian Dröge
eb2166c97d
videoscale: Set input width/height if the output caps don't have any width or height
2010-05-13 11:16:01 +02:00
Andoni Morales
75a2e14e06
videoscale: Try to keep DAR when scaling
...
Fixes bug #371108 .
2010-05-13 11:16:01 +02:00
Olivier Crête
0a24137100
basertpaudiopayload: Add extra frame for non-complete frame lengths
...
Some payloaders like rtpg729pay can add a shorter frame at the end of a
RTP packet. We need to count it like a full frame for timestamps.
https://bugzilla.gnome.org/show_bug.cgi?id=618324
2010-05-13 11:03:12 +02:00
Olivier Crête
8a2b81a576
basertpaudiopayload: Set duration on buffers
...
Set the duration of the buffers from their size
2010-05-13 10:54:08 +02:00
Sebastian Dröge
1990364816
videotestsrc: Fixate PAR to 1/1 if possible
2010-05-12 10:32:48 +02:00
Sebastian Dröge
8ea2e94a7d
configure: Check for GTK+ 3.0 and if it's not available for GTK+ 2.0
2010-05-11 10:07:22 +02:00
Sebastian Dröge
6914986cb3
ximagesink: Check if the X context is allocated before using it
...
It should be allocated at these places already or the state changes
would have failed... but better add an additional check here.
2010-05-10 12:44:41 +02:00
Sebastian Dröge
df5c772c44
ximagesink: Post an error message on the bus if no supported pixmap formats can be found
...
Might fix bug #615851 .
2010-05-10 12:28:29 +02:00
Edward Hervey
37e975b8cc
ffmpegcolorspace : whooops
2010-05-07 19:49:57 +02:00
Edward Hervey
516c824687
ffmpegcolorspace: more minor cleanups
2010-05-07 19:21:13 +02:00
Edward Hervey
0d451ad9cb
ffmpegcolorspace: speedup caps transformation
...
* don't re-create our possible caps every single time, just use the
template caps.
* don't intersect the caps against the template, basetransform has already
done that for us.
62% speedup of _transform_caps() (instruction calls, measured with callgrind)
2010-05-07 17:38:46 +02:00
Edward Hervey
20d643ccda
uridecodebin: add the 'expose-all-streams' property from decodebin2
...
API: expose-all-streams
https://bugzilla.gnome.org/show_bug.cgi?id=617868
2010-05-07 17:38:45 +02:00
Edward Hervey
ac4188bd54
decodebin2: Add a property to not expose/decode all streams
...
API : expose-all-streams
If disabled:
* only the streams that CAN be decoded and match the final caps will have a
decoder plugged in and be exposed.
* the streams that COULD HAVE BEEN decoded but do not match the finals caps
will not have a decoder plugged in and will not be exposed.
If no decoder is available to decode a certain stream, then the missing element
message will still be emitted regardless of the value of the property.
https://bugzilla.gnome.org/show_bug.cgi?id=617868
2010-05-07 17:38:38 +02:00
Edward Hervey
e84b203de2
decodebin2: rename are_raw_caps to are_final_caps, correct comment
...
https://bugzilla.gnome.org/show_bug.cgi?id=617868
2010-05-07 17:18:37 +02:00
Wim Taymans
1fdfed5cc1
sdpmessage: add new TIAS bandwidth modifier
...
Add TIAS modifier as specified in RFC 3890.
Do some whitespace fixes.
2010-05-07 17:17:54 +02:00
Stefan Kost
4965782c48
audioconvert: disambigue comment due to popular demand
...
Write "target depth" instead of "our depth" or previous ambigous "out depth".
2010-05-07 00:10:22 +03:00
Mark Nauwelaerts
85a8a09ce7
playsink: disconnect signals in some more cleanup cases
2010-05-06 15:41:52 +02:00
Wim Taymans
02a78f528c
oggdemux: don't seek when no current chain
...
Avoid a crash when we try to seek when there is no current chain.
2010-05-06 13:10:54 +02:00
Wim Taymans
e33425e4d0
oggdemux: ignore the skeleton start time
...
Ignore the skeleton start time as it is usually wrong for live streams
and we have the needed logic to calculate it anyway.
2010-05-06 12:21:38 +02:00
Wim Taymans
27de725038
oggdemux: wait for headers before exposing chains
...
Wait until we have all the stream headers before we start exposing the streams
of a chain.
2010-05-06 12:06:09 +02:00
Wim Taymans
549bc3c80e
oggdemux: use index to estimate bitrate
...
When we have an index, use it to much more accurately estimate the total stream
bitrate.
2010-05-06 10:58:01 +02:00
Stefan Kost
18f07f03d1
docs: be more firendly to gtk-doc limitted parsing capabilities
2010-05-06 11:34:53 +03:00
Stefan Kost
639e1ab2b5
docs: fix wrong doc markup
2010-05-06 09:42:02 +03:00
Stefan Kost
4967d4e3fd
videoscale: use can_intersect to avoid a caps copy
2010-05-06 09:17:33 +03:00
Stefan Kost
948d06e4b3
videorate: trucate own caps, instead of copying and using the first only
...
We got the caps from an intersect, it is our own, hence we can truncate it.
Besides gst-indent has chooses to line-up all caps in one line again :/.
2010-05-06 09:14:25 +03:00
Stefan Kost
34f8ab5751
decodebin: use can_intersect to avoid a caps copy
2010-05-06 09:12:32 +03:00
Stefan Kost
2e3cfe4546
libvisual: trucate own caps, instead of copying and using the first only
...
We got the caps from an intersect, it is our own, hence we can truncate it.
2010-05-06 09:11:17 +03:00
Stefan Kost
4e6cb3e91f
vorbis: have a copy_sample func as a func pointer
...
Make some more variants for copy_sample funcs and use them via function pointer.
2010-05-06 08:22:36 +03:00
Stefan Kost
51739d562c
audioconvert: fix typo in comment
2010-05-06 08:22:36 +03:00
Stefan Kost
f5469d42de
x(v)imagesink: use gst_caps_can_intersect() more
...
In place where we just need to know whether caps intersect, we can use this
quicker function.
2010-05-06 08:22:36 +03:00
Stefan Kost
8690945e35
examples: add a test for difference position formats
...
The test runs position and duration queries on the pipeline in all formats.
2010-05-06 08:22:36 +03:00
Stefan Kost
6380af9552
example: update status (adder is fixed now)
2010-05-06 08:22:36 +03:00
Stefan Kost
2c28b4e3f0
example: make app static
2010-05-06 08:22:36 +03:00
Tim-Philipp Müller
f22b115804
oggdemux: printf format fixes
2010-05-05 13:25:02 +01:00
Tim-Philipp Müller
7fee2c0fe7
rtsp: weekday and month names in RTSP date string should be in C locale
...
Create date string using C locale weekday and month names.
Fixes #617636 .
2010-05-05 13:04:25 +01:00
Wim Taymans
f99cb8b9bd
uridecodebin: add all qtdemux types to downloadable types
...
Add all the media types that qtdemux can handle to the list of downloadable
types.
2010-05-04 17:54:01 +02:00
Wim Taymans
7b3f9aa504
oggdemux: handle corrupt indexes
...
Make sure we handle and receover from corrupt indexes.
2010-05-04 17:38:50 +02:00
Wim Taymans
e84b3c838c
oggdemux: fix EOS check
2010-05-04 15:47:29 +02:00
Wim Taymans
50e556cc84
oggstream: avoild division by 0
2010-05-04 13:51:07 +02:00
Wim Taymans
12929944a7
oggdemux: cleanup unused defines
2010-05-04 13:50:46 +02:00
Wim Taymans
a57b461af8
oggdemux: use the index in push mode when we can
...
When seeking in push mode, try to use the index first before we use the bitrate
estimation.
2010-05-04 13:36:58 +02:00
Wim Taymans
03c3aa6377
oggdemux: use skeleton duration when possible
2010-05-04 13:06:24 +02:00