Olivier Crête
f366356fdf
shmpipe: Remove wrong test inversion
2010-06-03 15:27:42 -04:00
Olivier Crête
1d893f8157
shmpipe: Verify that accept succeeds
2010-06-03 15:27:42 -04:00
Olivier Crête
d2731d689d
shmpipe: Fix one byte overflow
2010-06-03 15:27:42 -04:00
Olivier Crête
2c02d0c0e4
shmsrc: Improve debug prints
2010-06-03 15:27:42 -04:00
Olivier Crête
5c7a160de5
shmsink: Get potentially modified after opening shmpipe
2010-06-03 15:27:42 -04:00
Olivier Crête
7e8eae9f2a
shm: Try alternate paths for the socket
2010-06-03 15:27:42 -04:00
Olivier Crête
73fa2f9b76
shmpipe: Don't pretend the path is random
2010-06-03 15:27:42 -04:00
Olivier Crête
7c2a445a72
shmpipe: Create shm area exclusively
2010-06-03 15:27:42 -04:00
Olivier Crête
807da2165a
shmalloc: Make it build in non-glib world
2010-06-03 15:27:42 -04:00
Olivier Crête
c8eb511a9d
shmsrc: Make the shmpipe life independant of the element states
2010-06-03 15:27:42 -04:00
Olivier Crête
8f8b50a88e
shmpipe: Simplify handling of random paths
2010-06-03 15:27:42 -04:00
Olivier Crête
23414310a6
shmpipe: Remove useless attrib
2010-06-03 15:27:42 -04:00
Olivier Crête
007a26ac08
shmpipe: Ref client shmarea when a buffer is received in it
2010-06-03 15:27:42 -04:00
Olivier Crête
68c9ed6e5c
shmpipe: Don't dec old shm area when new one is added
...
Its ref will be dropped when the "close" message arrives
2010-06-03 15:27:41 -04:00
Olivier Crête
4f4ba5981b
shmsrc: Lock uses of shmpipe
2010-06-03 15:27:41 -04:00
Olivier Crête
92dccdd170
shmsrc: Add is-live property
2010-06-03 15:27:41 -04:00
Olivier Crête
43de02d25a
shm: Print details on errors
2010-06-03 15:27:41 -04:00
Olivier Crête
f97d02375b
shm: Make valgrind happy
2010-06-03 15:27:41 -04:00
Olivier Crête
663a8eac54
shmsink: Don't block on EOS in non-blocking mode
2010-06-03 15:27:41 -04:00
Olivier Crête
c5797b06ca
shm: Block if required
2010-06-03 15:27:41 -04:00
Olivier Crête
67785f331a
shmsink: Port to ShmPipe
2010-06-03 15:27:41 -04:00
Olivier Crête
b6bc52f961
shmsrc: Port to ShmPipe
2010-06-03 15:27:41 -04:00
Olivier Crête
7e90514747
shm: Add shmpipe implementation
2010-06-03 15:27:41 -04:00
Olivier Crête
e87cd0a29a
shm: Add shm based sink and src
...
These two elements (shmsink and shmsrc) communicate buffers using POSIX
shared memory. They also communicate the caps. The source currently acts as
a live source and ignores the timestamps coming from the sink. It also does
not transfer the tags.
2010-06-03 15:27:41 -04:00
Arun Raghavan
e5a37377ae
mpegtsdemux: Some checks to avoid asserts
...
gst_mpeg_descriptor_find() expects the description field to be non-NULL.
This fixes a couple of calls where the value being passed is not
verified to be non-NULL first.
https://bugzilla.gnome.org/show_bug.cgi?id=620456
2010-06-03 20:11:29 +02:00
Tim-Philipp Müller
ca5893e804
rtpmux: fix missing debug log message argument
2010-06-03 10:43:20 +01:00
David Schleef
76f136375c
invtelecine: add an assert to placate gcc-4.5
2010-06-02 22:07:31 -07:00
Olivier Crête
63c509b13e
rtpdtmfmux: Add some debug messages
2010-06-02 20:47:08 -04:00
Olivier Crête
2a39f410c1
rtpdtmfmux: Remove stream-lock event handling
2010-06-02 20:47:08 -04:00
Olivier Crête
e884e70f8e
rtpdtmfmux: Update doc for simplification
2010-06-02 20:47:08 -04:00
Olivier Crête
0528e09974
dtmf: Remove rtpdtmfmux stream-lock code
2010-06-02 20:47:08 -04:00
Olivier Crête
136d4688c0
rtpdtmfmux: Drop buffers on non-priority sinks when something is incoming on the priority sink
2010-06-02 20:47:08 -04:00
Olivier Crête
3f3f72889a
rtpdtmfmux: Add priority sink pads
2010-06-02 20:47:08 -04:00
Olivier Crête
60b4c4ef4b
rtpdtmfmux: Cleanup event function
2010-06-02 20:47:07 -04:00
Olivier Crête
68df62aa55
rtpmux: Aggregate incoming segments
2010-06-02 20:47:07 -04:00
Olivier Crête
e967023810
rtpdtmfmux: Update documentation
2010-06-02 20:47:07 -04:00
Olivier Crête
1c03b56146
rtpmux: Simplify request pad creation
2010-06-02 20:47:07 -04:00
David Schleef
d13b2b8287
Merge branch 'hacking'
2010-06-02 11:31:26 -07:00
David Schleef
6ceb310dc6
invtelecine: Add verify-field-flags property
...
When enabled, check that the video matches the field flags on the
incoming buffers.
2010-06-02 11:30:44 -07:00
David Schleef
88f4a6a0ed
invtelecine: remove old code
2010-06-02 11:30:32 -07:00
David Schleef
c439a6bc36
invtelecine: Add 4:2:2 formats
2010-06-02 11:29:57 -07:00
David Schleef
750cdc912b
invtelecine: Change format table
...
Add format name, phase table.
2010-06-02 11:29:05 -07:00
David Schleef
b213b03804
invtelecine: Add multiple pulldown formats
2010-06-02 11:26:41 -07:00
David Schleef
00174c8fa8
invtelecine: handle different frame sizes
2010-06-02 11:26:41 -07:00
Руслан Ижбулатов
a7fe2c391c
ivfparse: Fix format string warning
...
Fixes #620324
2010-06-02 10:06:26 +02:00
Sebastian Dröge
1a95b29115
ivfparse: Send an initial NEWSEGMENT event
2010-06-01 11:19:46 +02:00
Sebastian Dröge
820c8f9ed1
ivfparse: Integrate into the build system
2010-06-01 11:19:46 +02:00
Sebastian Dröge
d1e3217be8
ivfparse: Add simple IVF parser
...
This only supports VP8 so far.
Fixes bug #619158 .
2010-06-01 11:19:45 +02:00
Tim-Philipp Müller
cbd74ceff4
mpegvideoparse: change profile and level strings to something nicer-looking
...
This is more in line with what we do elsewhere, even if it doesn't
resemble the offical abbreviations exactly.
See #616078 .
2010-05-28 12:50:01 +01:00
Mark Nauwelaerts
413716d1d9
h264parse: plug a few memory leaks
...
Fixes #619617 .
2010-05-28 12:36:23 +01:00
Zaheer Abbas Merali
721643431e
mpegvideoparse: fix crash if downstream is unliked
...
mpeg_packetizer_get_block() in some circumstances (here: if
downstream was unlinked) returns a block but does not set the
buffer causing mpegvideoparse_drain_avail() to cause invalid memory
access.
Fixes #619502 .
2010-05-25 00:29:58 +01:00
Thiago Santos
c6e77c3d03
Removing remaining gstapp*
...
There are some remaining gstapp* living unlinked from the build scripts.
Remove them.
2010-05-24 20:03:21 -03:00
Sebastian Pölsterl
58b926b978
mpegtspacketizer: fix minor memory leak
...
Don't leak language code.
Fixes #619444 .
2010-05-23 19:20:31 +01:00
David Schleef
c3d4977761
Split out GST_PLUGINS_BAD_CFLAGS from GST_CFLAGS
...
Move include directives for gst-libs into GST_PLUGINS_BAD_CFLAGS,
and fix all the Makefiles that use it. This is so that all the
include directories are added in the proper order: first the
directories in srcdir/builddir, then gst-plugins-base dirs, then
gstreamer dirs. If the order is wrong, installed headers may be
used instead of local headers and/or uninstalled headers from -base.
2010-05-19 18:24:02 -07:00
David Schleef
d1cfc50507
qtmux: Add VP8
2010-05-19 19:24:04 +02:00
Alessandro Decina
2441c79afa
h264parse: fix wrong timestamps in some cases after seeking.
...
Reset ->last_outbuf_dts on flush-stop. Fixes #619064 .
2010-05-19 11:18:28 +02:00
Zaheer Abbas Merali
5208d030b3
mpegtsdemux: fix memory corruption when parsing adaptation field
2010-05-17 16:26:03 +01:00
Sebastian Dröge
f09a8893c1
festival: Only close the connection if it's opened
2010-05-13 14:43:28 +02:00
Ivan Zderadicka
41bba48ccb
festival: Don't open an infinite number of connections to the server and close connections
...
Fixes bug #618527 .
2010-05-13 14:43:28 +02:00
Joshua M. Doe
59fddc9237
frei0r: Fix setting of boolean values
...
Setting boolean type parameters from gst-launch failed because of improper handling of type conversions.
Fixes bug #618388 .
2010-05-12 18:18:46 +02:00
Zaheer Abbas Merali
d2bd939899
mpegtsparse: parse TDT table in mpegts.
...
Some tables in MPEG-TS do not have a crc in the spec, so also mpegtsparse
is not calculating crc for sections with table_id 0x70 - 0x72 because they
do not have a CRC in the spec. See EN300468. Parse Time and Date table and
output bus message.
2010-05-12 13:00:16 +02:00
Tim-Philipp Müller
bb93d06ca0
Remove imagefreeze plugin/element.
...
It has been moved to gst-plugins-good.
See #613786 .
2010-05-11 14:02:33 +01:00
Tim-Philipp Müller
ee063478ff
Remove capssetter element
...
It has been moved to gst-plugins-good.
See #617739 .
2010-05-11 13:08:41 +01:00
Stefan Kost
418a791868
jpegformat: make the intention of the elements more clear
2010-05-07 22:53:17 +03:00
Thiago Santos
20a8666388
Revert "jifmux: Merge xmp and tagsetter tags."
...
This reverts commit 4e5c412234
.
jifmux shouldn't be able to handle jif and shouldn't expect
any xmp on its data. So, no need to handle them.
2010-05-07 14:00:03 -03:00
Thiago Santos
4e5c412234
jifmux: Merge xmp and tagsetter tags.
...
When the current file already has tags, they shouldn't be ignored,
parse them and merge with the tagsetter ones.
2010-05-07 12:42:23 -03:00
Thiago Santos
a9e4c64efa
jifmux: Reject buffers without caps
...
jifmux expects whole jpeg pictures in buffers, so it should
reject buffers without caps.
2010-05-07 11:07:34 -03:00
Thiago Santos
72fdd708cf
jifmux: Be safe and check bytewriter returns
...
Check GstByteWriter returns to know when recombining the image
failed and log a warning.
2010-05-07 10:59:22 -03:00
Thiago Santos
0d637e4f09
jifmux: Avoid adding 2 xmp packets
...
jifmux was only appending a new xmp packet to the stream,
it should replace if there is already one.
2010-05-07 10:13:54 -03:00
Sebastian Dröge
860d5e7efe
capssetter: Some minor cleanup
2010-05-06 13:12:32 +02:00
Sebastian Dröge
1f6688b1a1
imagefreeze: Set fixed caps on the correct pad
...
This makes the sink getcaps function actually used instead of using
the fixed caps function for it.
2010-05-05 12:25:08 +02:00
Mark Nauwelaerts
d68a4c1dcc
jpegparse: improve buffer scanning
...
Specifically, when scanning for entropy data segment length and needing
more data, do not rescan from start next time around, but resume at
last position.
See also #583047 .
2010-04-30 19:53:57 +02:00
Руслан Ижбулатов
5f25780b02
Fix printf format strings for gcc 4.5
...
Done on Windows/MinGW.
Fixes #617146
2010-04-29 10:17:56 +02:00
Lasse Laukkanen
30ff3bc098
camerabin: add meaningful names for queue elements inside camerabin
2010-04-21 12:25:39 +03:00
Mark Nauwelaerts
00148e3736
mpeg4videoparse: also set short configuration data in codec_data
...
That is, header configuration may start at Video Object (startcode),
rather than at Visual Object Sequence, which is catered for and parsed,
so let's also take it as codec_data if no more available.
Fixes (remainder of) #572551 .
2010-04-20 15:39:07 +02:00
Thiago Santos
c4aaab2d59
camerabin: Avoid crashing when setting zoom in NULL
...
Avoid setting zoom in NULL state because the source is not
set yet and this leads to a crash. It is set on READY > PAUSED
anyway.
2010-04-19 19:06:39 -03:00
Arun Raghavan
bf586d7966
mpegvideoparse: Export profile and level in caps
...
This exports profile and level in caps for MPEG 2 streams.
https://bugzilla.gnome.org/show_bug.cgi?id=616078
2010-04-18 12:50:26 +02:00
Sebastian Dröge
5a51dbd093
mpegdemux: Use GST_FLOW_CUSTOM_SUCCESS instead of some integer
...
Fixes compiler warning with gcc 4.5.
2010-04-16 19:43:59 +02:00
Sebastian Dröge
2908515bd4
Revert "mpegpsdemux: Workaround new gcc 4.5 compiler warning"
...
This reverts commit a331228ecc
.
2010-04-16 19:42:00 +02:00
Sebastian Dröge
a331228ecc
mpegpsdemux: Workaround new gcc 4.5 compiler warning
...
gcc 4.5 warns when comparing some integer with an enum value, in
the case of GstFlowReturn this is valid though. We should later
add GST_FLOW_CUSTOM_OK1, GST_FLOW_CUSTOM_OK2, etc. after new core
is released.
2010-04-15 21:26:45 +02:00
Sebastian Dröge
1f102af33d
cdxaparse: Compare the correct variable to GST_SEEK_TYPE_SET
2010-04-15 20:50:58 +02:00
Adam Endrodi
822fd6a9ff
camerabin: reset software zooming if not set by the photo interface
...
Otherwise both software (videoscal+videocrop) and hardware zooming would be used.
2010-04-15 13:22:16 +03:00
David Schleef
a27500b712
invtelecine: Fix up element details
2010-04-14 16:43:23 -07:00
Thiago Santos
c48de5c594
camerabin: Add video-capture-width/height/framerate properties
...
Adds video-capture-width, video-capture-height and
video-capture-framerate properties to allow applications to
get/set those values. Getting was not possible before this patch,
and setting was done through the set-video-resolution-fps
action, which sets the properties and promptly resets the
video source to use them.
Fixes #614958
2010-04-13 20:37:03 -03:00
Thiago Santos
fa6adc85b4
camerabin: Adds image-capture-width/height properties
...
Adds image-capture-width and image-capture-height properties
to camerabin, allowing the user to get/set them. Getting was
not possible before and setting was done through the
set-image-resolution action, which shouldn't now just set
the properties.
Fixes #614958
2010-04-13 20:36:44 -03:00
Thiago Santos
a72774c5f8
camerabin: photography: Spring G_PARAM_STATIC_STRINGS
...
Sprinkle some G_PARAM_STATIC_STRINGS over the properties
in GstPhotography interface and in camerabin
2010-04-13 15:59:04 -03:00
Lasse Laukkanen
55d98ef488
camerabin: add block-after-capture property for viewfinder blocking
...
Adds block-after-capture property to block running viewfinder after capturing.
This property is useful if application wants to display capture preview and avoid
running viewfinder on background.
Based on a patch by Tommi Myöhänen <ext-tommi.1.myohanen@nokia.com>
2010-04-13 12:00:36 -03:00
Tommi Myöhänen
6206f58c3a
GstPhotography: Add flicker and focus mode settings to photography API
...
Adds flicker and focus mode settings to photography API and also
implement it in camerabin.
2010-04-13 12:00:35 -03:00
Teemu Katajisto
ae57a90fe2
camerabin: do not set imagebin sinkpad twice
...
If we already have a sinkpad, do not get a new one
2010-04-13 12:00:34 -03:00
Lasse Laukkanen
16cff06a70
camerabin: add viewfinder-filter property
...
Adds a new property called viewfinder-filter to camerabin.
This property is used to add a filter to process the video
flow right before the viewfinder sink.
Also updates test to check property exists.
2010-04-13 12:00:33 -03:00
Lasse Laukkanen
2c4417dabc
camerabin: proxy video source photography interface property notify signals
...
If photography interface properties change in video source, notify the
application by emitting notify for respective camerabin properties.
2010-04-13 12:00:32 -03:00
Lasse Laukkanen
2c05df08b2
camerabin: add api to query supported image capture resolution
...
Adds new property 'image-capture-supported-caps' to GstPhotography
to query the supported image capture caps.
Also implement it in camerabin.
2010-04-13 12:00:31 -03:00
René Stadler
e2438e6cf1
camerabin: rename function and variable names, update documentation
...
Get rid of user_* prefix internally, use app_* instead.
2010-04-13 12:00:31 -03:00
Lasse Laukkanen
d25a9ca8aa
camerabin: add video-source-filter property
...
Add video-source-filter property that can be used to inject application
specific gstreamer element to camerabin pipeline. The video-source-filter
element will process all frames coming from video source.
One could add image analyzers to collect information about the stream,
or add image enhancers to improve capture quality, for example.
2010-04-13 12:00:30 -03:00
Lasse Laukkanen
1c74f22264
camerabin: don't try adapting image capture resolution if no source-resize flag
...
If source-resize flag is disabled then set resolution to image capture caps
according to capture resolution video source element produces. Otherwise we
write wrong resolution to image metadata.
2010-04-12 16:10:49 +03:00
Lasse Laukkanen
d7a0f1f997
camerabin: Fix capturing flag handling after image has been captured
...
Make sure capturing flag is unset and image-captured message is sent
before sending eos event to image bin and saving the image to a file.
2010-04-12 16:07:36 +03:00
Lasse Laukkanen
c6f6f1b595
camerabin: fix setting filter-caps property in NULL state
...
Split _set_capsfilter_caps() into two parts so that we can call one part
regardless of the element state.
2010-04-12 16:06:07 +03:00
Lasse Laukkanen
1b10553f90
camerabin: improve image done signal emission
...
Use g_idle_add_full() with G_PRIORITY_HIGH to emit image done signal,
g_idle_add() is more likely to starve with higher priority events.
2010-04-12 15:15:22 +03:00
Tim-Philipp Müller
a81a158f17
invtelecine: fix print format in debug message
2010-04-08 01:42:23 +01:00
Arun Raghavan
90753ceb5e
baseparse: Don't emit bitrate tags too early
...
We wait to parse a minimum number of frames (10, arbitrarily) before
emiting bitrate tags so that our early estimates are not wildly
inaccurate for streams that start with a silence. If the stream ends
before that, we just emit the tags anyway.
While it _would_ be nicer to be specify the threshold to start pushing
the tags in terms of duration, this would introduce more complexity than
this merits.
https://bugzilla.gnome.org/show_bug.cgi?id=614991
2010-04-07 11:51:46 +02:00