Robert Swain
bea13ef43b
interlace: Add pattern offset property
...
This property allows one to start at any point within the field pattern after
a discontinuity (whenever gst_interlace_reset () is called). Thus with the
2:3:3:2 pattern, for example, one can start at offset 2 and achieve 3:2:2:3
or offset 1 and achieve 3:3:2:2.
2010-11-24 12:09:16 +01:00
Lasse Laukkanen
5c2f805199
camerabin: Create imagebin elements when image mode is set in camerabin NULL state
...
This patch refactors imagebin element creation and linking into separate functions,
and adds re-using also for imagebin internally created elements.
So this refactoring allows creating imagebin elements already in NULL state when
application sets the image mode, and next state change from NULL to READY will be faster.
This reduces first capture latency.
Earlier the elements were both created and linked in NULL to READY state change.
2010-11-23 10:04:24 -03:00
Andoni Morales Alastruey
e307bfe6e6
mpegtsparse: Create a sub-buffer with the section length
2010-11-23 11:26:56 +01:00
Thiago Santos
7622328aab
jpegparse: Small optimization on tags parsing
...
Optimize a little avoiding copying a taglist when parsing xmp/exif
data.
2010-11-22 17:43:53 -03:00
Thiago Santos
8d5cfc6511
outputselector: Avoid losing the last_buffer when switching
...
This patch makes outputselector take an extra ref when pushing
the last_buffer to avoid it losing it during the switch function.
This makes resend-latest properly work if the active-pad is changed
during the switch function buffer pushing (on a pad probe, for example).
https://bugzilla.gnome.org/show_bug.cgi?id=629917
2010-11-22 17:34:02 -03:00
Thiago Santos
0451adeabd
outputselector: Recheck pending switch after pushing buffer
...
This patch makes output-selector always recheck if there's a
pending pad switch after pushing a buffer, preventing that
it pushes a buffer on the 'wrong' pad.
https://bugzilla.gnome.org/show_bug.cgi?id=629917
2010-11-22 17:29:17 -03:00
David Schleef
edc392fcc8
colorspace: remove incorrect check
2010-11-21 23:13:30 -08:00
Mark Nauwelaerts
d7a9452a6e
qtmux: remove remnant of obsolete property
2010-11-19 19:21:38 +01:00
Marc-André Lureau
a4b93bb95d
qtmux: allow specifying trak timescale
...
This is mainly because Smoothstreaming client are broken and don't
take the TimeScale property into account.
2010-11-19 19:21:38 +01:00
Mark Nauwelaerts
5abdd9ab03
qtmux: include sdtp atoms for ismv fragmented files
...
Based on patch by Marc-André Lureau <mlureau@flumotion.com>
2010-11-19 19:21:37 +01:00
Mark Nauwelaerts
083c26aca8
qtmux: enable default fragmented file for ismlmux
2010-11-19 19:21:37 +01:00
Marc-André Lureau
b5f6f94d54
qtmux: add ismlmux, for fragmented isml major brand
2010-11-19 19:21:37 +01:00
Mark Nauwelaerts
46e2186fd9
qtmux: finalize sinkpads list
2010-11-19 19:21:37 +01:00
Marc-André Lureau
8f84cbd620
qtmux: add moov in streamheader
2010-11-19 19:21:37 +01:00
Marc-André Lureau
3ae5297660
qtmux: add streamable property to avoid building fragmented mfra index
2010-11-19 19:21:37 +01:00
Mark Nauwelaerts
f03dc57faf
qtmux: add mfra to fragmented file
...
Based on patch by Marc-André Lureau <mlureau@flumotion.com>
2010-11-19 19:21:37 +01:00
Mark Nauwelaerts
68d5ab1a1d
qtmux: optionally create fragmented file
...
In this mode, an initial empty moov (containing only stream metadata) is written,
followed by fragments containing actual data (along with required metadata).
New fragments are started either at keyframe (if such are sparse) or when
property configured duration exceeded.
Based on patch by Marc-André Lureau <mlureau@flumotion.com>
Fixes #632911 .
2010-11-19 19:21:37 +01:00
Mark Nauwelaerts
bd46298ca6
qtmux: use helper to set atom flags from given uint
2010-11-19 19:21:37 +01:00
Mark Nauwelaerts
857efb4917
qtmux: refactor configuring and sending of moov
...
Based on patch by Marc-André Lureau <mlureau@flumotion.com>
2010-11-19 19:21:37 +01:00
Mark Nauwelaerts
e361a0b3ce
qtmux: refactor extra top-level atom handling
...
Also check a bit more for possible errors, and free proper items in such case.
2010-11-19 19:21:37 +01:00
Mark Nauwelaerts
261df7636e
qtmux: refactor slightly using buffer helper
2010-11-19 19:21:37 +01:00
Mark Nauwelaerts
3fea86fa60
qtmux: fix misinforming comment
2010-11-19 19:21:37 +01:00
Mark Nauwelaerts
1a279a9466
qtmux: delegate mvex handling to atoms
...
... which keeps qtmux simpler.
2010-11-19 19:21:36 +01:00
Marc-André Lureau
78d2d8598d
qtmux: add mvex/trex in header if fragmented
...
One "trex" is added per "trak". We don't support default values,
but the "trex" box is mandatory.
2010-11-19 19:21:36 +01:00
Marc-André Lureau
84d8b33d1a
qtmux: add a couple of fourcc for fragmented mp4
2010-11-19 19:21:36 +01:00
Mark Nauwelaerts
7e4c96359f
qtmux: avoid removing temp file when error occurred
2010-11-19 19:21:36 +01:00
Marc-André Lureau
401fb0a09b
qtmux: truncate buffer file after each send
2010-11-19 19:21:36 +01:00
Marc-André Lureau
055a1a3b0a
qtmux: remove temp file when reset/finalize
2010-11-19 19:21:36 +01:00
Arun Raghavan
8ca66f336e
jpegformat: Push tags after setting srcpad caps
...
This patch defers emission of tag events till caps are set on the source
pad of jpegparse, so that these tags can be seen downstream.
https://bugzilla.gnome.org/show_bug.cgi?id=627211
2010-11-19 14:57:59 -03:00
Alessandro Decina
b005ed2197
mpegtsparse: fix compiler warning
2010-11-19 18:51:32 +01:00
Andoni Morales Alastruey
fb9234de78
mpegtsparse: fix thinko
2010-11-19 18:33:10 +01:00
Andoni Morales Alastruey
b11f737096
mpegtsparse: fix handling of TOT and TDT sections. Fixes #635281 .
...
TDT and TOT sections, with PID=0x14, doesn't extend to several packets
and the section filter is not needed here and shouldn't be used at all
for these tables because the have a different structure.
For example, TDT tables were not parsed for odd hours because this bit
is the 'current_next_indicator' bit for the other sections, and the table
was discarded.
2010-11-19 18:11:50 +01:00
Andoni Morales Alastruey
2611b12970
mpegtsparse: don't calculate the CRC for TOT tables. Fixes #635281 .
...
TOT tables, with table_id=0x73, don't have a CRC, so don't calcute it
2010-11-19 18:10:47 +01:00
Víctor Manuel Jáquez Leal
e5728ebcb1
jpegparse: add gst_jpeg_parse_skip_marker ()
...
https://bugzilla.gnome.org/show_bug.cgi?id=626618
2010-11-19 16:30:18 +02:00
Víctor Manuel Jáquez Leal
285c32e01f
jpegparse: use byte reader accessors
...
https://bugzilla.gnome.org/show_bug.cgi?id=626618
2010-11-19 16:27:24 +02:00
Víctor Manuel Jáquez Leal
e11fdf67f0
jpegparse: inline gst_jpeg_parse_sof ()
...
No functional changes (hopefully).
https://bugzilla.gnome.org/show_bug.cgi?id=626618
2010-11-19 16:25:39 +02:00
Víctor Manuel Jáquez Leal
d0dc44db02
jpegparse: fix typo
...
https://bugzilla.gnome.org/show_bug.cgi?id=626618
2010-11-19 16:25:35 +02:00
Aleksey Lim
d66ef4dea8
camerabin: Do not use audio clock after stopping video capture
...
Adda provide clock function to camerabin to make it not
provide the audio clock of the record bin when no video
recording is happening
Fixes #613379
2010-11-18 10:58:06 -03:00
Mark Nauwelaerts
68dca2e704
baseparse: use correct offset when adding index entry
...
... bearing in mind that BUFFER_OFFSET is media specific and may not
reflect the basic offset after having been parsed.
2010-11-17 16:24:13 +01:00
Mark Nauwelaerts
9b6439a36c
baseparse: enhancements for timestamp marked framed formats
...
That is, as such formats allow subclass to extract position from frame,
it is possible to extract duration (if not otherwise provided)
from (near) last frame, and a seek can fairly accurately target the required
position.
Fixes #631389 .
2010-11-17 15:36:41 +01:00
Mark Nauwelaerts
08cab00b8b
baseparse: refactor frame scanning peformed by _loop
2010-11-17 15:36:38 +01:00
Mark Nauwelaerts
587106f1cf
baseparse: slightly optimize sending of pending newsegment events
2010-11-17 15:36:36 +01:00
Mark Nauwelaerts
f82f330537
baseparse: minor fixes and enhancements
...
Arrange for upstream as well as downstream flushing when seeking.
Also determine upstream size as well as seekability. Adjust some comments
to reality and employ debug statement in proper order.
2010-11-17 15:36:23 +01:00
Mark Nauwelaerts
b65da8e775
aacparse: minor cleanups
2010-11-17 15:36:20 +01:00
Mark Nauwelaerts
0fdc68cd46
aacparse: fix regression in ADIF src caps setting
2010-11-17 15:36:18 +01:00
Mark Nauwelaerts
36cbbd94c6
flacparse: parse seektable
...
Fixes #631389 (partially).
2010-11-17 15:36:02 +01:00
Mark Nauwelaerts
551f9707fa
flacparse: minor refactor and enable default baseparse segment clipping
2010-11-17 15:35:59 +01:00
Mark Nauwelaerts
896c4b71af
mpegaudioparse: fix silly leak in _reset
2010-11-09 20:52:10 +01:00
Sebastian Dröge
9ac7950d2c
colorspace: Update generated ORC sources
2010-11-05 10:57:22 +01:00
Thiago Santos
60a6eca2a1
camerabin: Adds 'idle' property
...
Adds 'idle', a read-only boolean property that tells applications
if there is any capturing/saving/encoding going on in camerabin. If
not, it is safe to set it to NULL and release resources without
losing data.
2010-11-04 22:48:02 -03:00
Lasse Laukkanen
bc1b09c1c4
camerabin: Add "ready-for-capture" property
...
Add "ready-for-capture" property to indicate if preparing a new
capture is possible.
"ready-for-capture" changes before the 'image-done' signal, so
the application can be notified that it can do a new capture
even before the previous one has finished encoding/saving.
2010-11-04 21:41:07 -03:00
Sebastian Dröge
a1994b59f5
colorspace: Inverse -base version check logic to actually make sense
2010-11-04 14:19:09 +01:00
Olivier Crête
7ad651c3ff
pcapparse: Add support for Linux Cooked Capture (SLL) frames
2010-11-03 18:50:51 -04:00
Olivier Crête
16ec12371a
pcapparse: Fail on unknown version or linktype
...
The element only knows about major version 2 and only decodes linktype ethernet
2010-11-03 18:23:27 -04:00
Olivier Crête
ec16c22f54
pcapparse: Send error GstMessage if stream doesn't have the expected magic
2010-11-03 18:02:49 -04:00
Andoni Morales Alastruey
891e08f220
mpegtsparse: send TDT tables messages in a serialized event downstream
...
https://bugzilla.gnome.org/show_bug.cgi?id=633917
2010-11-03 04:48:00 +00:00
Sebastian Dröge
6723122127
colorspace: Add support for IYU1
2010-11-03 15:39:27 +01:00
Sebastian Dröge
dec9b54698
colorspace: First version of YUV9 and YVU9 implementation
2010-11-03 15:39:27 +01:00
Sebastian Dröge
eccb88afb0
colorspace: Use GST_CHECK_PLUGINS_BASE_VERSION() instead of other hacks
2010-11-03 15:39:27 +01:00
Thijs Vermeir
2271608c43
mpegvideoparse: fix timestamp generation
...
Use information from the gop header and picture
header to calculate the picture timestamp. (time_code
and temporal_reference) and adapt to upstream timestamps if
provided.
https://bugzilla.gnome.org/show_bug.cgi?id=632222
2010-11-03 11:12:38 +01:00
Tim-Philipp Müller
ff0a34ce3d
colorspace: fix build with current git of gst-plugins-base
...
ifdef tests don't work so well if we define them in the code
above in case they aren't defined.
2010-11-02 17:01:01 +00:00
Sebastian Dröge
50fa9610b1
colorspace: Add support for 8 bit paletted RGB
...
This needs the 8 bit paletted support from -base
which will be committed after release. Without this
the 8 bit parts are disabled.
2010-11-02 16:07:07 +01:00
Thiago Santos
d96964e391
camerabin: Add missing change to previous commits
...
Forgot to add this change to the latest commits. This fixes the build.
2010-11-02 10:24:49 -03:00
Thiago Santos
7ae195788a
camerabin: Fix leaks in the preview handling
...
Remember to unref the bus after adding the watch.
Remember to unref the element after getting it with
gst_bin_get_by_name.
2010-11-02 09:39:49 -03:00
Lasse Laukkanen
5a5fca2689
camerabin: Do not leak a caps
...
gst_caps_replace doesn't take ownership, but refs the caps. So we
unref the remaining caps.
2010-11-02 09:39:40 -03:00
Thiago Santos
618f32ad8d
camerabin: Reset pre-night-mode stored fps when mode changes
...
When switching between video/still modes the pre-night-mode fps
should be reset to prevent it being used in the incorrect mode, causing
the videosource to fail configuring itself
2010-11-02 09:16:45 -03:00
Thiago Santos
6ee256d462
camerabin: Store app preferred capture parameters separately
...
Store width/height/fps for video captures in a separate variable
than the one that stores the currently used value.
This prevents the user preferences to be lost when resetting
the currently used dimensions for night mode, for example
2010-11-02 09:16:44 -03:00
Thiago Santos
73a909c0e3
camerabin: cleanup used caps when going to NULL
...
Resets used caps so that camerabin doesn't try to use them
when restarting, where elements/properties might have changed
and the old caps be incompatible
2010-11-02 09:16:44 -03:00
Teemu Katajisto
ca16d951ba
camerabin: fix priority for idle_add function
...
Adds a higher priority to the idle_add function for when
the image bin finished the image capture. This reduces the
delay for the application to be notified about this.
2010-11-02 09:16:44 -03:00
Stefan Kost
dad82be640
inputselector: log times in human readable form
2010-11-01 23:05:42 +02:00
Stefan Kost
380fd56938
inputselector: move reoccuring logs to LOG and remove a double info
...
Less debug spew in DEBUG category. No need to log pad again if we use
GST_LOG_OBJECT(pad,...).
2010-11-01 22:47:21 +02:00
Tim-Philipp Müller
c627604ea9
cog, colorspace: update orc backup functions for latest changes
...
Should fix build on systems without the latest orc.
2010-11-01 15:54:18 +00:00
Sebastian Dröge
e8186a45a1
colorspace: Add support for RGB15 and BGR15
2010-10-31 23:46:27 +01:00
Sebastian Dröge
a2eb43fade
colorspace: Add support for RGB16 and BGR16
2010-10-31 23:44:20 +01:00
Sebastian Dröge
3c8e0286dc
colorspace: Add support for Y16
2010-10-31 23:25:57 +01:00
Sebastian Dröge
52f3e1351a
colorspace: Fix Y800 ORC getline implementation
2010-10-31 23:25:40 +01:00
Sebastian Dröge
d29423fd76
colorspace: Add support for A420
2010-10-31 23:08:39 +01:00
Sebastian Dröge
cd135c24e4
colorspace: Add support for Y41B
2010-10-31 23:00:07 +01:00
Sebastian Dröge
eb2a295316
colorspace: Add support for SDTV/HDTV YUV conversions
2010-10-31 22:47:35 +01:00
Sebastian Dröge
c1027a72fe
colorspace: Add comment for the A420 getline/putline table row
2010-10-31 22:21:35 +01:00
Sebastian Dröge
d8027b4e67
colorspace: Add const to the source arrays and the getline/putline table
2010-10-31 20:40:09 +01:00
Sebastian Dröge
58949450b5
colorspace: Make fast-path transform table const
2010-10-31 19:42:30 +01:00
Sebastian Dröge
e49aa545d0
colorspace: Only do the I420->YUY2 conversion once per scanline in the fast path
2010-10-31 19:40:01 +01:00
Mark Nauwelaerts
ba35b17b98
baseparse: use only upstream duration if it provides one
2010-10-29 14:11:47 +02:00
Mark Nauwelaerts
61cf6f2ffa
baseparse: reflow update_bitrate code
...
... which makes local variables represent real state better, and avoids
triggering unneeded updates/actions.
2010-10-29 14:11:44 +02:00
Mark Nauwelaerts
841e09e234
baseparse: add some debug statements
2010-10-29 14:11:42 +02:00
Sebastian Dröge
4c48e791b3
gaudieffects: Include gstcontroller header and add the required CFLAGS
2010-10-28 18:52:07 +02:00
Luis de Bethencourt
cadfe13839
gaudieffects: made filter parameters dynamic and controllable
2010-10-28 18:52:07 +02:00
Sebastian Pölsterl
13431420eb
mpegtsparse: Add tag event emission. Fixes #627253
2010-10-28 11:45:46 +01:00
Thiago Santos
0999fdb82a
camerabin: Check the source scene mode when creating it
...
As camerabin only gets notified of the changes from the
video source element, it should query the initial value
once the source is created so it initializes itself
correctly.
2010-10-21 16:43:45 -03:00
Tim-Philipp Müller
05cec96949
dcaparse: init variable to make osx build bot happy
...
gstdcaparse.c: In function 'gst_dca_parse_check_valid_frame':
gstdcaparse.c:246: warning: 'best_sync' may be used uninitialized in this function
2010-10-19 23:25:54 +01:00
Tim-Philipp Müller
d5a008b9ee
audioparsers: add very basic dts/dca parser
...
Still some issues, e.g. with seekable queries in totem, but also
processing already-chunked input (created with matroskademux ! gdppay).
2010-10-19 18:00:14 +01:00
Stefan Kost
90e90fd368
videoanalyse: fix copy'n'paste off by one for param spec flags change
2010-10-19 16:25:00 +03:00
Stefan Kost
0c22e1b954
various (gst): add missing G_PARAM_STATIC_STRINGS flags
...
Canonicalize property names as needed.
2010-10-19 15:47:17 +03:00
Stefan Kost
92634ff92a
various: wrap property registration and add a single fixme for long desc.
2010-10-19 15:36:18 +03:00
Stefan Kost
8ab60bd7cd
pnmenc: remove stray " in doc comment
2010-10-19 15:08:06 +03:00
Stefan Kost
1b23f7719a
dtmfsrc: remove DEBUG_FUNCPTR from gobject vmethods
2010-10-19 13:46:57 +03:00
Thiago Santos
744a1d1542
camerabin: Remove unused entry
...
Remove camerabin unused enum entry
2010-10-14 14:09:39 -03:00
Thijs Vermeir
96a7f9c8b1
mpegvideoparse: accelerate search for start code
...
As the startcode always starts with 0x000001 some iterations
can be skipped if values > 1 are detected.
~ 70% faster on HD video stream.
https://bugzilla.gnome.org/show_bug.cgi?id=632130
2010-10-14 18:52:27 +02:00
Mark Nauwelaerts
9f4339c059
ac3parse: properly parse e-ac3 frame header
...
Also add a few debug statements.
2010-10-14 16:53:01 +02:00
Mark Nauwelaerts
231d4d9bdc
qtmux: prevent infinite loop when adjusting framerate
...
Fixes #632070 .
2010-10-13 17:48:34 +02:00
Thiago Santos
461db47e87
geometrictransform: Adds rotate element
...
Adds a new rotate element to geometrictransform. It still
needs some work. But this is a good starting point.
Based on patch from Bert Douglas <bertd tplogic com>
2010-10-13 12:14:36 -03:00
Mark Nauwelaerts
697419b755
flacparse: tweak setting buffer metadata; avoid timestamp jitter
...
Fixes #631993 .
2010-10-13 11:01:13 +02:00
Mark Nauwelaerts
9b9d8a516b
aacparse: streamline src caps setting
...
In particular, also set src caps whenever changes in stream warrant doing so.
2010-10-12 18:19:49 +02:00
Sebastian Dröge
f576c3f128
flacparse: Don't drop the last frame if it is followed by garbage
...
See bug #631814 .
2010-10-12 10:31:41 +02:00
Mark Nauwelaerts
6e1d65d788
baseparse: perform bitrate handling and posting after newsegment sending
2010-10-11 17:50:21 +02:00
Mark Nauwelaerts
30feca6966
baseparse: immediately post subclass provided bitrate
2010-10-11 17:42:09 +02:00
Mark Nauwelaerts
11bdf1def1
flacparse: fix parsing with unknown framesizes
...
Fixes #631814 (mostly).
2010-10-11 17:13:27 +02:00
Sebastian Dröge
812075dc5d
flacparse: Simplify frame header parsing by using lookup tables
...
Based on a patch by Felipe Contreras.
See bug #631200 .
2010-10-07 23:38:26 +02:00
Sebastian Dröge
64407ca94b
flacparse: Don't parse the complete FLAC frames but only look for valid frame headers
...
Thanks to Felipe Contreras for the suggestion. This is partially
based on his patches and makes flacparse more than 3.5 times faster.
Looking for valid frame headers is unlikely to give false positives
because every frame header is at least 9 bytes long, contains a
14 bit sync code and a 8 bit checksum over the first 8 bytes.
Fixes bug #631200 .
2010-10-07 23:38:25 +02:00
Mark Nauwelaerts
1617616516
sdpdemux: workaround internal rtspsrc failing state change
...
Fixes #630046 .
2010-10-07 12:00:38 +02:00
Sebastian Dröge
77c05b5419
audioparse: Add support for setting the channel-positions
2010-10-07 10:34:48 +02:00
Sebastian Dröge
396501784c
flacparse: Really post tags only after the initial newsegment event
...
The first newsegment event will be send by the first call to
gst_base_parse_push_buffer() if necessary, posting the tags
before that is not a good idea. Instead do it from the
GstBaseParse::pre_push_buffer vfunc.
2010-10-06 18:32:51 +02:00
Sebastian Dröge
59720fd42a
chromahold: Fix hue calculation for red colors
...
Also make the calculation much more accurate...
2010-10-06 16:54:16 +02:00
Sebastian Dröge
10e0187df1
chromahold: Make everything greyscale if the target color is grey
2010-10-06 15:21:09 +02:00
Sebastian Dröge
fa2a4af5bb
chromahold: Add chromahold color effect
...
This effect converts all colors except a single one to
grey. The color is selected by an RGB triple and a
tolerance for the color matching in hue degree can be specified.
2010-10-06 11:57:12 +02:00
Mark Nauwelaerts
e0cb15cea0
sdpdemux: fix and reflow some exits
2010-10-05 17:21:22 +02:00
Mark Nauwelaerts
216887d599
sdpdemux: error out if no streams found in sdp message
2010-10-05 17:08:21 +02:00
Mark Nauwelaerts
6c96f8cf1e
sdpdemux: unbreak standard manager setup
2010-10-05 17:08:19 +02:00
Tim-Philipp Müller
716e430fd5
Revert "baseparse: add skip property"
...
This reverts commit b5a3d60363
.
Reverting this for now, since no one really seems to remember why this
property exists or what it could possibly be good for. It seems to have
been in the original mp3parse since the beginning of time and was back-
ported from there.
2010-10-05 11:17:52 +01:00
Sebastian Dröge
7e581aebe2
flacparse: Fix uninitialized variable compiler warnings
...
These warnings are wrong, the variables are only used if they were
initialized by the bit reader.
2010-10-04 10:41:52 +02:00
Felipe Contreras
b6f1e8aa68
flacparse: fix picture parsing
...
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2010-10-04 08:09:57 +02:00
Sebastian Dröge
65f620af8e
flacparse: Push tags before the header buffers are pushed
2010-10-04 08:09:57 +02:00
Felipe Contreras
1a49b4de63
flacparse: trivial caps fix
...
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2010-10-04 08:09:56 +02:00
Thiago Santos
4697cffbee
qtmux: Add G_PARAM_STATIC_STRINGS
...
Add G_PARAM_STATIC_STRINGS to qtmux properties
2010-10-03 23:47:29 -03:00
Sebastian Dröge
26b2c4a1b3
audioparser: Let the format string agree with the parameters to fix compiler warning
2010-10-03 23:50:29 +02:00
Sebastian Dröge
4903e140e2
ac3parse: Use unchecked versions of the bitreader get functions
...
We didn't check the return values anyway...
2010-10-03 15:42:17 +02:00
Stefan Kost
7ae63847a8
valve: no need to ref the object in _chain
...
Don't ref the pad in chain, like elsewhere
2010-10-02 18:27:14 +03:00
Arun Raghavan
2d699010e9
baseparse: Fix debug output
...
We lose the reference to the buffer after gst_pad_push(), so the debug
print should happen before.
https://bugzilla.gnome.org/show_bug.cgi?id=622276
2010-10-01 13:31:36 +02:00
Mark Nauwelaerts
ad1304dcf1
baseparse: support reverse playback
...
... in pull mode or upstream driven.
2010-10-01 12:15:52 +02:00
Mark Nauwelaerts
603d6ba183
baseparse: remove done TODOs and update documentation
2010-10-01 12:15:52 +02:00
Mark Nauwelaerts
fdff382686
baseparse: use determined seekability in answering SEEKING query
2010-10-01 12:15:52 +02:00
Mark Nauwelaerts
b5a3d60363
baseparse: add skip property
2010-10-01 12:15:52 +02:00
Mark Nauwelaerts
8d7720eb93
mpegaudioparse: initial version
...
... adequately equivalent to mp3parse, so lets boldly set it
to higher rank.
2010-10-01 12:15:51 +02:00
Mark Nauwelaerts
d7b31821ea
aacparse: set minimum frame size at _start
...
... rather than one time at _init.
2010-10-01 12:15:51 +02:00
Mark Nauwelaerts
36165d8d44
baseparse: use _set_frame_props to configure frame lead_in and lead_out
...
... provided a corresponding decoder with sufficient leading and following
frames to carry out full decoding for a particular segment.
2010-10-01 12:15:51 +02:00
Mark Nauwelaerts
13f85c8f11
baseparse: use _set_duration to configure duration update interval
...
... as it logically belongs there as one or the other; either subclass
can provide a duration, or an estimate must be made (reguarly updated).
2010-10-01 12:15:51 +02:00
Mark Nauwelaerts
eb9ba9e115
baseparse: localize use of provided fps information
2010-10-01 12:15:50 +02:00
Mark Nauwelaerts
def0aadb81
baseparse: seek table and accurate seek support
2010-10-01 12:15:50 +02:00
Mark Nauwelaerts
174d2d46fc
baseparse: proper and more extended segment and seek handling
...
That is, loop pause handling, segment seek support, newsegment for gaps, etc
2010-10-01 12:15:50 +02:00
Mark Nauwelaerts
ec195ab2e5
baseparse: add index support
2010-10-01 12:15:50 +02:00
Mark Nauwelaerts
80646f5555
baseparse: refactor state reset
2010-10-01 12:15:49 +02:00
Mark Nauwelaerts
ad95a79de3
baseparse: prevent indefinite resyncing
2010-10-01 12:15:49 +02:00
Mark Nauwelaerts
1c14fd0a31
baseparse: specific EOS handling if no output so far
2010-10-01 12:15:49 +02:00
Mark Nauwelaerts
a1c072e0aa
baseparse: adjust _set_frame_prop documentation and set default as claimed
2010-10-01 12:15:49 +02:00
Mark Nauwelaerts
cf159041a7
baseparse: fix bitrate copy-and-paste and update heuristic
2010-10-01 12:15:49 +02:00
Mark Nauwelaerts
80ba9a1a3e
baseparse: post duration message if average bitrates is updated
2010-10-01 12:15:48 +02:00
Mark Nauwelaerts
4dff7c81d6
baseparse: remove is_seekable vmethod and use a set_seek instead
...
Seekability, like duration, etc is unlikely to change (frequently), and
the default assumption covers most cases, so let subclass set when needed.
At the same time, allow subclass to indicate if it has seek-metadata (table)
available, and possibly have it provide an average bitrate.
2010-10-01 12:15:48 +02:00
Mark Nauwelaerts
c516bf8679
ac3parse: remove redundant default is_seekable
2010-10-01 12:15:48 +02:00
Mark Nauwelaerts
582b756bc1
baseparse: add another hook for subclass prior to pushing buffer
...
... and allow subclass to perform custom segment clipping, or to
emit tags or messages at this time.
2010-10-01 12:15:48 +02:00