Olivier Crête
6e9ff0a160
shm: Make sure the zero-sized array is always last in the struct
...
https://bugzilla.gnome.org/show_bug.cgi?id=696681
2013-03-28 14:37:03 -04:00
Josep Torra
87e053386a
shmsink: Use correct print format specifiers to fix compiler warnings
2013-03-10 21:21:17 +01:00
Olivier Crête
48b9fa2c24
shmsink: Add custom allocator to allow for zero-copy shared memory use
2013-02-28 18:46:02 -05:00
Olivier Crête
df321edeaf
shm: Don't leak socket path
2013-02-28 18:13:44 -05:00
Blake Tregre
c175c6b3d0
shm: use O_CLOEXEC where appropriate in shmpipe
...
https://bugzilla.gnome.org/show_bug.cgi?id=684339
2013-02-28 12:35:45 -05:00
Olivier Crête
684811cddf
shmsink: Error out if memory area is smaller than buffer
2013-02-27 21:05:38 -05:00
Olivier Crête
7a77b41d6a
shm: Make sure to not allocate blocks larger than the shared mem area
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=681359
2013-02-27 20:57:56 -05:00
Tim-Philipp Müller
68a34d2a60
shm: don't use deprecated threading API
2013-02-11 12:01:19 +00:00
Olivier Crête
feb113e87a
shm: Initialize shm_area_buf to invalid value
2013-01-17 19:29:31 -05:00
Roland Elek
2cacfa2932
shm: apply shm area permissions to shmpipe control socket
...
Apply shared memory area permissions to the control socket (more
precisely, the path it is bound to) as well.
https://bugzilla.gnome.org/show_bug.cgi?id=682775
2013-01-17 19:16:42 -05:00
Olivier Crête
4caad2d06c
shm: Actually get the permissions on get_property
2013-01-04 15:39:05 -05:00
Sebastian Dröge
3be147046d
shm: Fix configure check and clean up Makefile
2012-11-28 13:10:47 +01:00
Emmanuel Durand
1c973536b9
shm: Fix compilation of shm on OSX
...
https://bugzilla.gnome.org/show_bug.cgi?id=689183
2012-11-28 13:04:30 +01:00
Tim-Philipp Müller
9e1b75fda3
Fix FSF address
...
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-04 00:09:59 +00:00
Tim-Philipp Müller
32ba17cd0f
Use gst_element_class_set_static_metadata()
...
where possible. Avoids some string copies. Also re-indent
some stuff. Also some indent fixes here and there.
2012-10-17 17:46:34 +01:00
Mark Nauwelaerts
578861abea
replace gst_element_class_set_details_simple with gst_element_class_set_metadata
2012-09-14 17:27:49 +02:00
Tim-Philipp Müller
24c626ae1f
shm: remove unneeded glib-gen-mak include in Makefile
...
No enums or marshallers to be generated here. Should also
be gst-glib-gen.mak then.
2012-08-24 09:01:41 +01:00
Aleix Conchillo Flaque
7b6029ebe1
shmsrc: memory corruption when a client disconnects ( fixes #679385 )
2012-07-05 10:55:26 -07:00
Aleix Conchillo Flaque
3971ef089c
shmsink: fix memory corruption when a client disconnects ( fixes #675640 )
...
Also, add a check to make sure a client isn't dumped twice
2012-05-07 21:02:26 -04:00
Sebastian Dröge
cda192b3b7
gst: Update for GST_PLUGIN_DEFINE() API changes
2012-04-05 18:02:56 +02:00
Sebastian Dröge
15c6a9e87f
shmsrc: Fix a merge mistake
2012-03-29 18:03:05 +02:00
Sebastian Dröge
860ccd414d
Merge remote-tracking branch 'origin/0.10'
...
Conflicts:
NEWS
RELEASE
common
configure.ac
docs/libs/gst-plugins-bad-libs-sections.txt
docs/plugins/gst-plugins-bad-plugins.args
docs/plugins/gst-plugins-bad-plugins.hierarchy
docs/plugins/gst-plugins-bad-plugins.interfaces
docs/plugins/inspect/plugin-adpcmdec.xml
docs/plugins/inspect/plugin-adpcmenc.xml
docs/plugins/inspect/plugin-assrender.xml
docs/plugins/inspect/plugin-audiovisualizers.xml
docs/plugins/inspect/plugin-autoconvert.xml
docs/plugins/inspect/plugin-bayer.xml
docs/plugins/inspect/plugin-bz2.xml
docs/plugins/inspect/plugin-camerabin2.xml
docs/plugins/inspect/plugin-celt.xml
docs/plugins/inspect/plugin-dataurisrc.xml
docs/plugins/inspect/plugin-debugutilsbad.xml
docs/plugins/inspect/plugin-dtmf.xml
docs/plugins/inspect/plugin-dtsdec.xml
docs/plugins/inspect/plugin-dvbsuboverlay.xml
docs/plugins/inspect/plugin-dvdspu.xml
docs/plugins/inspect/plugin-faac.xml
docs/plugins/inspect/plugin-faad.xml
docs/plugins/inspect/plugin-gsm.xml
docs/plugins/inspect/plugin-h264parse.xml
docs/plugins/inspect/plugin-mms.xml
docs/plugins/inspect/plugin-modplug.xml
docs/plugins/inspect/plugin-mpeg2enc.xml
docs/plugins/inspect/plugin-mpegdemux2.xml
docs/plugins/inspect/plugin-mpegtsdemux.xml
docs/plugins/inspect/plugin-mpegvideoparse.xml
docs/plugins/inspect/plugin-mplex.xml
docs/plugins/inspect/plugin-pcapparse.xml
docs/plugins/inspect/plugin-rawparse.xml
docs/plugins/inspect/plugin-rtpmux.xml
docs/plugins/inspect/plugin-rtpvp8.xml
docs/plugins/inspect/plugin-scaletempo.xml
docs/plugins/inspect/plugin-schro.xml
docs/plugins/inspect/plugin-sdp.xml
docs/plugins/inspect/plugin-segmentclip.xml
docs/plugins/inspect/plugin-shm.xml
docs/plugins/inspect/plugin-videomaxrate.xml
docs/plugins/inspect/plugin-videoparsersbad.xml
docs/plugins/inspect/plugin-vp8.xml
docs/plugins/inspect/plugin-y4mdec.xml
ext/celt/gstceltdec.c
ext/dts/gstdtsdec.c
ext/modplug/gstmodplug.cc
ext/opus/gstopusenc.c
gst-libs/gst/video/gstbasevideocodec.c
gst-libs/gst/video/gstbasevideocodec.h
gst-libs/gst/video/gstbasevideodecoder.c
gst-libs/gst/video/gstbasevideodecoder.h
gst-libs/gst/video/gstbasevideoencoder.c
gst-libs/gst/video/gstbasevideoencoder.h
gst/adpcmdec/Makefile.am
gst/audiovisualizers/gstbaseaudiovisualizer.c
gst/h264parse/gsth264parse.c
gst/mpegdemux/mpegtsparse.c
gst/mpegtsdemux/mpegtsbase.c
gst/mpegtsdemux/mpegtspacketizer.c
gst/mpegtsdemux/mpegtsparse.c
gst/mpegtsdemux/tsdemux.c
gst/mpegtsdemux/tsdemux.h
gst/mxf/mxfdemux.c
gst/rawparse/gstaudioparse.c
gst/videoparsers/gsth263parse.c
gst/videoparsers/gsth264parse.c
sys/d3dvideosink/d3dvideosink.c
sys/decklink/gstdecklinksink.cpp
sys/dvb/gstdvbsrc.c
sys/shm/gstshmsrc.c
sys/vdpau/h264/gstvdph264dec.c
sys/vdpau/mpeg/gstvdpmpegdec.c
tests/examples/opencv/gst_element_print_properties.c
win32/common/config.h
2012-03-29 17:41:53 +02:00
Olivier Crête
3fa160e1c8
shmsink: Make buffer-time signed to deal with backward jumps in timestamps
2012-03-23 13:06:55 -04:00
Olivier Crête
2712ab6216
shmsink: Make buffer-time signed to deal with backward jumps in timestamps
2012-03-23 13:06:22 -04:00
Mark Nauwelaerts
995bad93a8
shm: port to 0.11
2012-03-20 20:21:42 +01:00
Stefan Sauer
4565bb1c01
shm: add minimal doc blobs
2012-03-04 21:54:08 +01:00
Wim Taymans
1119f6ee41
Merge branch 'master' into 0.11
...
Conflicts:
ext/chromaprint/gstchromaprint.c
ext/mpeg2enc/Makefile.am
ext/voaacenc/gstvoaacenc.c
gst/dvbsuboverlay/gstdvbsuboverlay.c
gst/mpegtsdemux/mpegtsbase.c
gst/sdp/gstsdpdemux.c
gst/videoparsers/gsth264parse.c
sys/d3dvideosink/d3dvideosink.c
tests/examples/camerabin/gst-camera-perf.c
tests/examples/camerabin/gst-camerabin-test.c
tests/examples/camerabin2/gst-camerabin2-test.c
tests/examples/mxf/mxfdemux-structure.c
tests/examples/scaletempo/demo-main.c
2012-02-10 16:46:50 +01:00
Vincent Penquerc'h
c835325536
shmsink: fix indefinite wait after adding a new fd to the poll set
...
If the second call to _wait blocks, we will not signal the condition
variable, so ensure that second call is not blocking.
See rationale and information in the linked bug:
https://bugzilla.gnome.org/show_bug.cgi?id=669697
2012-02-09 18:15:09 +00:00
Wim Taymans
de1f89bf07
GST_FLOW_WRONG_STATE -> GST_FLOW_FLUSHING
2012-02-08 16:37:13 +01:00
Tim-Philipp Müller
f8f4620451
build: fix CFLAGS order and LIBS order
...
_BAD_CFLAGS should always come first, then GST_PLUGINS_BASE_CFLAGS,
then GST_BASE_CFLAGS then GST_CFLAGS. Same for libs: first plugins
base libs, then GST_BASE_LIB then GST_LIBS.
2012-02-03 00:50:33 +00:00
Vincent Penquerc'h
8147669971
plenty: fixup glib deprecations
2012-01-27 15:47:07 +00:00
Vincent Penquerc'h
7521b597f4
various: fix pad template ref leaks
...
https://bugzilla.gnome.org/show_bug.cgi?id=662664
2011-11-28 13:08:27 +00:00
Sjoerd Simons
94d9327e2a
shm: Add buffer-time property
...
Add a buffer-time property to limit the size of the amount of data
queued in the shmsink buffer in nanoseconds.
Fixes : #656107
2011-10-12 08:49:02 +01:00
Sjoerd Simons
52a7d015cd
shm: Add ability to add uint64 tags on buffers
2011-10-12 08:49:02 +01:00
Olivier Crête
26f7a1ca66
shm: Improve documentation of internal shmpipe
2011-06-16 19:06:03 -04:00
Olivier Crête
58ee65fe20
shm: Make gcc 4.6 happy
...
Remove warnings due to initialized but never used warnings
2011-05-18 16:49:26 -04:00
Stefan Kost
79e3b5b4bb
various: fix author tag in element details
2011-05-18 10:31:38 +03:00
Pino Toscano
01b7b10d0b
shm: Don't use PATH_MAX
...
PATH_MAX is not defined on GNU Hurd and others. Also fix
format string.
2011-05-16 09:07:57 +02:00
Vincent Penquerc'h
a34108899e
shmsink: ensure gst_poll_wait is called first on descriptors
...
We need to call gst_poll_wait before calling gst_poll_* status
functions on that new descriptor, so restart the loop, so _wait
will have been called on all elements of self->poll, whether
they have just been added or not. */
2011-04-07 10:03:45 +02:00
Olivier Crête
e30451a0c3
shm: Make default perm u+rw g+r for shm area
2011-03-31 16:21:11 -04:00
Olivier Crête
81b0d87746
shm: Don't use "sun" as a variable name, breaks on Solaris
...
Seems like the Solaris compiler has -Dsun=1, so don't use
sun as a variable name
Patch by Tim Mooney <mooney@dogbert.cc.ndsu.nodak.edu>
https://bugzilla.gnome.org/show_bug.cgi?id=645053
2011-03-17 16:41:52 -04:00
Sjoerd Simons
1634a9f262
shmsink: Keep shmsink referenced while there are still buffers around
2011-03-16 18:53:27 +00:00
Sjoerd Simons
ca9d60702f
shm: Allow ShmPipe to save a data pointer for applications
2011-03-16 18:53:19 +00:00
Sjoerd Simons
f6efb3e397
shm: Keep the ShmPipe alive as long as there are blocks left
2011-03-16 18:53:10 +00:00
Olivier Crête
a646afcf88
shmsrc: Only connect to sink in PLAYING in live mode
2011-03-16 18:52:57 +00:00
Olivier Crête
a2b6dfa37e
shmsrc: Keep GstPoll for whole src lifetime
2011-03-16 18:52:57 +00:00
Olivier Crête
ecb7674640
shm: Don't pass the ShmPipe to the function closing the shm area
2010-11-24 19:12:10 -05:00
Olivier Crête
56c4a9b692
shm: Use the right counter when freeing buffers
2010-11-24 19:12:10 -05:00
Olivier Crête
a770d7a707
shmalloc: Manually decide to use GLib or not in the shmalloc
...
So make it easier for embedders to use it with or without Glib
2010-11-24 19:12:10 -05:00
Olivier Crête
01f1cc20d7
shm: Remove duplicated arguement
2010-11-24 19:12:10 -05:00