Commit graph

42 commits

Author SHA1 Message Date
Arun Raghavan
b70ef1de49 uvch264src: Add meson build support 2017-01-02 19:58:06 +05:30
Arun Raghavan
4f282f6068 uvch264src: Fix wrong argument order to force-key-unit event
CID 1373421
2017-01-02 19:58:06 +05:30
Vineeth TM
8cdfb13658 bad: use new gst_element_class_add_static_pad_template()
https://bugzilla.gnome.org/show_bug.cgi?id=763081
2016-03-24 14:56:51 +02:00
Vineeth TM
9900b08512 uvch264_src: Fix caps memory leak
v4l_caps and new_caps are being allocated new memory before freeing the
old allocation.

https://bugzilla.gnome.org/show_bug.cgi?id=761108
2016-02-17 08:57:30 +00:00
Reynaldo H. Verdejo Pinochet
86ec812429 Remove unnecessary NULL checks before g_free()
g_free() is NULL-safe
2015-11-18 16:05:42 -08:00
Tim-Philipp Müller
536e3742aa Fix file permissions of some files 2015-08-28 19:55:59 +01:00
Arnaud Vrac
697f117ddd configure.ac: fix build when the uvch264 plugin is not selected
Instead of checking for the gstreamer-video-1.0 package is installed,
just assume it is since we already check for the -base dependency.

With this replace the GST_VIDEO_* variables in makefiles and directly
link with libgstvideo.

https://bugzilla.gnome.org/show_bug.cgi?id=753820
2015-08-19 16:52:03 +03:00
Tim-Philipp Müller
1a182e7a41 uvch264src: fix small leak in caps query handler
gst_query_set_caps_result() does not take ownership of the caps.
2015-06-22 09:23:12 +01:00
Vineeth TM
dd3f3142bc uvch264_src: add missing break in caps query handler
There is a missing break statement in switch,
which will result in executing default case as well
resulting in wrong behavior

https://bugzilla.gnome.org/show_bug.cgi?id=751305
2015-06-22 09:20:18 +01:00
Chris Clayton
376d831178 uvch264src: fix compiler warnings
https://bugzilla.gnome.org/show_bug.cgi?id=750601
2015-06-09 18:30:55 +01:00
Tim-Philipp Müller
95c211dc49 Add some missing G_END_DECLS 2014-10-28 21:42:31 +00:00
Tim-Philipp Müller
7b8bd35d18 Fix up one-element lists in template caps 2014-09-10 17:24:39 +01:00
Sebastian Dröge
01fd3a1396 uvch264src: Free property strings when disposing the instance 2014-06-29 21:01:39 +02:00
Sebastian Dröge
b02cbcfa42 uvch264src: Fix compiler warning when compiling with G_DISABLE_ASSERT 2014-06-29 20:13:10 +02:00
Sebastian Dröge
cde8be156f uvch264src: Fix unitialized variable compiler warnings 2014-02-08 18:54:58 +01:00
Olivier Crête
fb639741d7 uvch264src: Fix small mem leak 2013-09-09 13:14:24 -04:00
Olivier Crête
8fb6628842 uvch264src: Let the caps be NULL if there is no peer 2013-09-05 19:24:07 -04:00
Olivier Crête
5ac10edde7 uvch264src: No need to drop segment events
In 1.0, segment events are sticky and not additive, no need to prevent
their accumulation.
2013-09-05 19:24:07 -04:00
Robert Krakora
006e7a3428 uvch264src: don't error out on incomplete aux data segment
It appears that the Logitech C920 sometimes drops the next
to last segment of RAW aux data contained within the MJPEG
container.  H264 data that is multiplexed with in the same
container does not appear to be affected.  This appears to
be a bug in the Logitech C920 firmware and uvch264src should
not error out in this case.

Sometimes it can take 24 hours of continuous streaming for
the problem to occur, but sometimes it takes only a couple
of hours.

https://bugzilla.gnome.org/show_bug.cgi?id=706276
2013-08-20 18:57:01 +01:00
Tim-Philipp Müller
6f5934f3aa uvch264mjpgdemux: fix event ordering 2013-08-10 21:35:09 +01:00
Olivier Crête
b52a84354e uvch264_mjpgdemux: Remove duplicated variables 2013-07-28 17:29:32 +02:00
Olivier Crête
8b80d60648 uvch264_mjpgdemux: Don't unmap/unref buffer if it's pushed out as-is 2013-07-28 17:25:34 +02:00
Robert Krakora
bd386a2785 uvcv4l2_mjpegdemux: Unmap buffer
https://bugzilla.gnome.org/show_bug.cgi?id=699517
2013-07-28 17:25:27 +02:00
Anton Belka
70be50fbed uvch264: printf format fix
gstuvch264_mjpgdemux.c:437:5: error: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'GstClockTime'
2013-04-15 18:05:37 +01:00
Sebastian Dröge
e51cd4fe2f gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
Sjoerd Simons
06ae51a3fe uvch264: Remove custom renegotiate event 2013-02-11 22:05:00 +01:00
Sjoerd Simons
8ea2085484 uvch264: Add image/jpg to vfsrc and vidsrc caps 2013-02-11 22:05:00 +01:00
Sjoerd Simons
adb6aa6b72 uvch264: Fix NV21 vs NV12 typo 2013-02-11 22:05:00 +01:00
Sjoerd Simons
bad01ceead uvch264: Pass through the filter on the caps query 2013-02-11 22:04:59 +01:00
Sjoerd Simons
6ce751442b uvch264: Remove the _ from the element names
Rename uvch264_src to uvch264src and uvch264_mjpgdemux to
uvch264mjpgdemux
2013-02-11 22:04:59 +01:00
Sjoerd Simons
14637e2a27 uvch264src: Port to gstreamer 1.0 2013-02-11 22:04:59 +01:00
Youness Alaoui
49fefbde65 uvch264: Define LIBUSB_CLASS_VIDEO if using an old version of libusb 2013-01-16 15:10:40 -05:00
Olivier Crête
e82e434730 uvch264: Prevent temporary elements from going to playing 2013-01-16 14:51:11 -05:00
Youness Alaoui
c9fbf274f4 uvch264: do not double-unref if transform_caps fails 2013-01-16 14:51:07 -05:00
Youness Alaoui
410d0c0194 uvch264: Add a fakesink to the transform_caps
Some version of basetransform will return the template caps if the src
pad is not linked, so the capsfilter will return ANY. Linking it to
fakesink allows us to return the right caps in the capsfilter and have
them transformed by the colorspace converter.
2013-01-16 14:51:01 -05: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
Wim Taymans
b8f913555d ffmpegcolorspace is no more 2012-09-14 16:45:34 +02:00
Youness Alaoui
7a7267b402 uvch264: Make gudev/libusb a hard dependency and remove XU_FIND_UNIT ioctl support
Conflicts:
	sys/uvch264/gstuvch264_src.c
2012-09-11 15:00:18 -04:00
Olivier Crête
cfc94b8a45 uvch264src: Use generic marshaller 2012-09-10 16:12:39 -04:00
Youness Alaoui
1ba24e1306 UVC H264 plugin 2012-09-10 16:09:26 -04:00