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
Mark Nauwelaerts
ea7e051827
baseparse: 0 converts to 0 by default
2010-10-01 12:15:47 +02:00
Mark Nauwelaerts
2e7de32849
basepase: refactor conversion using helper function and export default convert
2010-10-01 12:15:47 +02:00
Mark Nauwelaerts
420121705d
baseparse: streamline query handling
2010-10-01 12:15:47 +02:00
Mark Nauwelaerts
a1f51f3d17
baseparse: cleanup struct and remove unused member
2010-10-01 12:15:47 +02:00
Mark Nauwelaerts
b0d62f4182
audioparsers: increase ranks to enable auto-plugging
...
Because we can, and should, have some shakedown testing before having
these make it into -good later on ...
2010-10-01 12:15:46 +02:00
Arun Raghavan
2978216db1
baseparse: Allow chaining of subclass event handlers
...
This allows the child class to chain its event handler with
GstBaseParse, so that subclasses don't have to duplicate all the default
event handling logic.
https://bugzilla.gnome.org/show_bug.cgi?id=622276
2010-10-01 12:15:46 +02:00
Olivier Crête
9246ed081e
valve: Make the drop variable into an atomic.
...
Using an atomic allows us to avoid locking the whole object all time time.
As suggested by Stefan Kost.
2010-09-30 16:26:19 -04:00
Olivier Crête
0af7cc8ba7
valve: Correctly set the DISCONT flag after dropping buffers
2010-09-30 16:22:04 -04:00
Olivier Crête
18ed4bafb9
valve: Remove superflous checking casts
2010-09-30 16:16:47 -04:00
Olivier Crête
5656523162
valve: Fix style, improve comments
...
Minor improvements to the comments and break a few overly long lines
2010-09-30 16:13:23 -04:00
Olivier Crête
51887b934f
rtpmux: Improve documentation
...
Add an example pipeline, and try to explain a bit more what it does.
2010-09-30 16:07:29 -04:00
Thiago Santos
5cb8164938
camerabin: Do not wrongly fail when starting a capture
...
If the elements are in NULL/READY and changing state to
PAUSED/PLAYING while a capture is started
camerabin might not set the active_bin properly causing the
capture start to fail.
This patch fixes it by checking the current and pending state
of the branches instead of only the current one
2010-09-29 18:42:27 -03:00
Sebastian Dröge
4e43e8bc67
frei0r: Use static caps instead of converting strings to caps all the time
2010-09-28 16:20:50 +02:00
Sebastian Dröge
498620d16c
frei0r: Fix crashes if plugins don't provide correct property information
...
The vertigo plugin for example claims to have 3 properties but
the 3rd property does nothing and has a NULL name.
Fixes bug #630783 .
Thanks to Martti Kühne for debugging this.
2010-09-28 16:16:31 +02:00
Stefan Kost
d0d4055732
valve: move default: parst in the switch statement to the end
...
Now sure if it matters, but the previous form looks weired.
2010-09-28 14:27:17 +03:00
Stefan Kost
5fa5e2d777
valve: move debug-category registration to type init
2010-09-28 14:23:40 +03:00
Stefan Kost
69ea2ec2ba
liveadder: move debug-category registration to type init
2010-09-28 14:23:40 +03:00
Stefan Kost
afa30fb8ea
liveadder: GST_BOILERPLATE already sets parent_class
2010-09-28 14:23:40 +03:00
Stefan Kost
7bd3e239a5
liveadder: use base_init for pad_templates and element_details
2010-09-28 14:23:40 +03:00
Stefan Kost
7e63d37f1c
liveadder: use G_PARAM_STATIC_STRINGS on properties
2010-09-28 14:23:40 +03:00
Stefan Kost
ccf35a80a0
valve: use G_PARAM_STATIC_STRINGS on properties
2010-09-28 14:23:40 +03:00
Stefan Kost
636ca1adde
valve: GST_BOILERPLATE already sets parent_class
2010-09-28 14:10:18 +03:00
Stefan Kost
3958f8371e
videomeassure: GST_BOILERPLATE already sets parent_class
2010-09-28 14:10:18 +03:00
Hu Gang
8f26b414fa
photography: extend photography iface
...
Add more color tone modes and add NoseReduction settings.
Fixes #616814 .
2010-09-28 11:37:47 +03:00
Sebastian Dröge
8dc7347d65
frei0r: Fix scanning of plugin subdirectories and support different vendors
...
The frei0r spec specifies, that plugins can be in subdirectories inside
the main plugin directories to introduce new namespaces called vendors.
2010-09-25 10:46:34 +02:00
Sebastian Dröge
bf74bcc1af
frei0r: Update frei0r interface specification to 1.2
2010-09-24 22:47:01 +02:00
Sebastian Dröge
addf308add
frei0r: Add support for the FREI0R_PATH environment variable
...
This was added in version 1.2 of the spec and replaces the default
list of directories.
2010-09-24 22:43:51 +02:00
Lasse Laukkanen
4ebdd9b5ac
fpsdisplaysink: initialize interval_ts and last_frames_* counters
...
Initialize interval_ts to first QOS event timestamp, otherwise the
fps statistics are printed always after one rendered frame.
Also, initialize last_frames_* counters, the values are bogus e.g. after
PLAYING-NULL-PLAYING state change.
2010-09-24 08:21:00 -03:00
Stefan Kost
a6b26cac65
rtpdtmfmux: remove unused variable
2010-09-24 13:30:30 +03:00
Stefan Kost
207aac1cec
rtpdtmfmux: remove unused signal boilerplate
2010-09-24 13:30:30 +03:00
Stefan Kost
1d11da647f
rtpmux: no need to ref pad in _chain()
2010-09-24 13:30:30 +03:00
Thiago Santos
b8afa0cc3c
camerabin: Adds new video-colorspace-flag to flags
...
Adds a new flag to allow a colorspace convertion before
the video encoder element.
Fixes #603063
2010-09-22 23:47:08 -03:00
Thiago Santos
0a7ae539ea
camerabin: Use link_full version for disabling hierarchy check
...
Disable hierarchy checks when linking because we are already
handling the element adding to bins and it should be done
correctly.
2010-09-22 23:47:08 -03:00
Thiago Santos
e893a8b82e
camerabin: Set queues to silent
...
We currently don't use queues' signals, so set them
to silent.
2010-09-22 23:47:08 -03:00
Wim Taymans
c905ec861e
pcapparse: fix weird caps code
...
Remove the weird (failing) code to figure out caps on the srcpad.
Add a caps property to decide what caps to put on the outgoing buffers.
Fix an event leak.
2010-09-22 16:43:21 +02:00
David Schleef
8e96a3393d
colorspace: quiet a GST_ERROR
2010-09-21 18:16:08 -07:00
Wim Taymans
528f6e0573
sdpdemux: add property to disable redirect
...
Add a property to avoid redirection to the rtsp-sdp:// url but instead embeds an
rtspsrc element inside sdpdemux as the session manager.
Based on patch by Marco Ballesio.
Fixes #630046
2010-09-21 19:15:27 +02:00
Sebastian Dröge
21d74bb58d
ttaparse: Don't post an error message on UNEXPECTED
...
Also don't use GST_FLOW_IS_FATAL()
2010-09-21 12:26:36 +02:00
Sebastian Dröge
d4782cbff8
sdpdemux: Don't use GST_FLOW_IS_SUCCESS()
2010-09-21 12:26:36 +02:00
Sebastian Dröge
793a3563fa
rawparse: Don't use GST_FLOW_IS_FATAL()
2010-09-21 12:26:36 +02:00
Sebastian Dröge
f6014febc0
nuvdemux: Don't use GST_FLOW_IS_FATAL()
...
And don't post an error message for WRONG_STATE or UNEXPECTED.
2010-09-21 12:26:35 +02:00
Sebastian Dröge
d95bb66074
nsf: Don't use GST_FLOW_IS_FATAL()
2010-09-21 12:26:35 +02:00
Sebastian Dröge
dd8ae4e027
mxfdemux: Don't use GST_FLOW_IS_FATAL()
2010-09-21 12:26:35 +02:00
Sebastian Dröge
f6713f9c3b
mvedemux: Add proper flow return aggregation
...
NOT_LINKED should only be returned if all streams returned NOT_LINKED.
2010-09-21 12:26:35 +02:00
Sebastian Dröge
f407d51ae8
mpegdemux: Don't use GST_FLOW_IS_FATAL()
...
And fix some minor issues related to its usage.
2010-09-21 12:26:35 +02:00
Sebastian Dröge
dab5cbb1c0
autoconvert: Don't use GST_FLOW_IS_FATAL()
2010-09-21 12:26:35 +02:00
Sebastian Dröge
2c6372f41a
baseparse: Don't use GST_FLOW_IS_FATAL()
...
Also don't post an error message for UNEXPECTED and do it
for NOT_LINKED.
2010-09-21 12:26:34 +02:00
Sebastian Dröge
b68a1e805d
asfparse: Don't use GST_FLOW_IS_FATAL()
...
Also don't push EOS downstream on WRONG_STATE, it will be dropped anyway.
2010-09-21 12:26:34 +02:00
Sebastian Dröge
f2affc667f
aiffparse: Don't use GST_FLOW_IS_FATAL()
2010-09-21 12:25:53 +02:00
Thiago Santos
30ff1ea346
camerabin: Mention photography interface in docs
...
Add a note to docs about getting the videosource and accessing
its photography interface (in case it has it)
Fixes #616923
2010-09-20 21:49:35 -03:00
Lasse Laukkanen
5767739431
camerabin: Adds missing variable initialization
...
Adds missing app_src_vid initialization
2010-09-20 21:22:55 -03:00
Teemu Katajisto
e6141120d8
camerabin: check state change to playing for imagebin and videobin
...
Properly check and handle error cases related to imagebin and
videobin state changes.
2010-09-20 21:21:58 -03:00
Thiago Santos
5355a3efd7
camerabin: Remove useless src template pad
...
camerabin imagebin doesn't need a src template pad.
2010-09-20 21:21:58 -03:00
Thiago Santos
9c3692cc4f
camerabin: Forward tag events to preview pipeline
...
Forward tag events from image pipeline to preview pipeline so
that preview elements can use capture tags information
2010-09-20 21:21:58 -03:00
Hoseok Chang
f0f8df1a30
camerabin: add "preview-source-filter" property
...
Adds 'preview-source-filter' for adding an element to proccess
the preview images before posting them to the bus.
2010-09-20 20:46:00 -03:00
Thiago Santos
44fa17b036
camerabin: Make block-after-capture resetting more consistent
...
Adds another boolean to help controlling viewfinder blocking,
making it possible for the applications to reset the viewfinder
blocking after capture was started but before the blocking
actually happens.
2010-09-20 18:26:48 -03:00
Thiago Santos
87d600b7a2
camerabin: Unblock the viewfinder when going to READY
...
Unblock the viewfinder when going to ready to avoid
blocking when setting camerabin to playing again and
attemping to capture. Keep the property as is.
2010-09-20 18:26:48 -03:00
Thiago Santos
ca11a51295
camerabin: add monitoring and support for photoiface zoom for video-source
...
Makes camerabin aware of changes in its videosource zoom property.
2010-09-20 18:26:48 -03:00
Thiago Santos
19981f2787
camerabin: Change zoom property from int to float
...
Updates zoom property for a more natural type and
makes it consistent with the photography API
2010-09-20 18:26:48 -03:00
Lasse Laukkanen
3e6a4edb15
camerabin: remove caching photography interface settings
...
Camerabin doesn't implement photography interface, so we
don't need caching the video source properties anymore.
2010-09-20 18:26:48 -03:00
Teemu Katajisto
3582a4a595
camerabin: remove photography interface implementation from camerabin
...
Remove notify signal proxy for video-source. Application can use
video-source directly from now on to get notified of property changes.
Add monitoring scene-mode property change to select lowest possible
framerate for video capture when night mode is selected.
Fixes #616923
2010-09-20 18:26:47 -03:00
David Schleef
f464ac4d5d
invtelecine: Fix name of 30p/60i pattern
2010-09-18 19:27:07 -07:00
David Schleef
8dfcc11bcb
interlace: Add allow-rff property. Fix timestamping
2010-09-18 15:05:26 -07:00
David Schleef
fd3d269b8d
interlace: merge telecine into normal operation
2010-09-18 14:58:04 -07:00
Robert Swain
351562936c
interlace: Add telecine support
2010-09-18 14:58:04 -07:00
Thiago Santos
8047346898
qtmux: Follow xmp serialization guidelines closer
...
qt and isom variants have different ways of serializing
xmp, follow these guidelines.
Those can be found in Adobe's xmp docs.
2010-09-15 22:07:05 -03:00
Tim-Philipp Müller
42ffb8a4f3
colorspace: add orc-dist files
...
Should fix build without orc or too old orc.
2010-09-15 21:48:20 +01:00
Tim-Philipp Müller
af7887f0df
checksumsink: fix up copyright in header file
2010-09-15 17:52:16 +01:00
David Schleef
5b6550dbd5
bayer2rgb: Add format=bggr/etc. to caps
2010-09-14 12:00:32 -07:00
David Schleef
742867566c
colorspace: Add conversion code
...
Work in progress. Colorspace handles most format conversion using
3-stage getline/matrix/putline process using an AYUV or ARGB
intermediate, with most functions handled by Orc. There is also
a table of single-pass conversions, all handled by Orc. The plan
is to add optional stages for various chroma upsampling/downsampling
algorithms, dithering, and float/int16 intermediates, and then have
Orc create multi-stage functions at runtime.
2010-09-14 12:00:29 -07:00
David Schleef
a25a81222d
colorspace: Revive element
...
Now based on Orc.
2010-09-14 11:32:19 -07:00
Thiago Santos
3a9734f3dc
jifmux: Reset tags when going to READY
...
Reset the tagsetter tags when going to READY state
2010-09-10 13:39:06 -03:00
Thiago Santos
2a0ae1ce1d
jpegformat: Fix element description
...
Use saner categories for jifmux/jpegparse elements
2010-09-10 13:39:06 -03:00
Thiago Santos
fb00b71496
camerabin: Set tags to more elements
...
Remove check for 'Muxer' category when setting tags
for tagsetters. Set them to all tagsetters in the
pipelines.
2010-09-10 13:39:06 -03:00
Mark Nauwelaerts
3daea4a085
sdpdemux: redirect SDP with an rtsp control URL
...
When we find an SDP with an rtsp:// url as the global control attribute or when
all streams have an rtsp:// control attribute, post an redirect message with an
rtsp-sdp:// url containing the SDP.
Fixes #628214
2010-09-10 18:37:45 +02:00
Thiago Santos
6fcbf593b8
geometrictransform: Fix build with debugging disabled
...
Add some ifdefs to prevent build failures due to unused
variables
2010-09-10 10:29:38 -03:00
Thiago Santos
768babf968
id3mux: Map GST_TAG_ALBUM_ARTIST
...
Map GST_TAG_ALBUM_ARTIST to TPE2 as it is done in
-base id3tag mappings.
2010-09-08 16:57:57 -03:00
Thiago Santos
69151f6850
jifmux: Make it more colorspace smart
...
This makes it able to recombine rgb images, making it possible
to add tags to rgb jpegs as well.
Uses a simple strategy to check what are the possible colorspaces
and avoid adding jfif to ones that aren't YUV/Gray.
2010-09-07 14:45:12 -03:00
Robert Swain
141f728169
interlace: Fix element details
2010-09-07 13:32:26 +02:00
Mark Nauwelaerts
a5eaa99297
baseparse: non-TIME seek event is simply not handled
2010-09-06 15:20:10 +02:00
Youness Alaoui
9823b9358e
dtmfsrc: Make the dtmfsrc accept events sent with gst_element_send_event
...
The doc says to use gst_element_send_event on the pipeline, but if
we are to call it on the element itself, it's a noop. This should make it
handle the event properly before delegating it to basesrc.
2010-09-06 13:45:44 +03:00
David Schleef
aa3fa6a542
interlace: Add documentation
2010-09-06 03:25:15 -07:00
Sebastian Dröge
6bc160a0dc
fpsdisplay: Use G_GUINT64_FORMAT instead of %llu
...
Fixes compiler warnings on 64 bit architectures.
2010-09-06 10:29:21 +02:00
Stefan Kost
bbfff812bf
inputselector: sync with copy in -base
...
Use _get_caps_reffed to avoid copies.
2010-09-06 11:03:07 +03:00
Stefan Kost
eca2e20945
outputselector: move the debug init to the boilerplate macro
2010-09-06 10:24:07 +03:00
Stefan Kost
b142b7a8c5
inputselector: use GST_BOILERPLATE macro
2010-09-06 10:24:07 +03:00