Thiago Santos [Mon, 19 May 2014 17:50:13 +0000 (14:50 -0300)]
examples: mpegts: add function to dump ETT tables
https://bugzilla.gnome.org/show_bug.cgi?id=730435
Thiago Santos [Mon, 19 May 2014 16:46:03 +0000 (13:46 -0300)]
mpegts: atsc: add ETT structures and parsing
ETT (extended text table) contains ATSC text information with descriptions
of virtual channels and events. The text can be internationalized and also
compressed.
https://bugzilla.gnome.org/show_bug.cgi?id=730435
Thiago Santos [Fri, 16 May 2014 18:39:48 +0000 (15:39 -0300)]
tsbase: parse the mgt and add listed EIT/ETT pids to the known psi
This will make tsbase also parse the EITs and ETTs from ATSC streams that have
their pids reported on the MGT and post to the bus
https://bugzilla.gnome.org/show_bug.cgi?id=730435
Thiago Santos [Thu, 15 May 2014 15:31:05 +0000 (12:31 -0300)]
mpegts: add atsc MGT section parsing
Add a parsing function for MGT and also detect the EIT tables
for ATSC, the EIT pids are reported inside the MGT and we are still
only relying only on the table id for detecting it. In the future we
would want to also check the pid and compare with whatever the MGT
previously reported to confirm that it is indeed the EIT.
https://bugzilla.gnome.org/show_bug.cgi?id=730435
Thiago Santos [Fri, 23 May 2014 04:41:18 +0000 (01:41 -0300)]
mpegts: atsc: rename TVCT to VCT as it is the same as CVCT
Make the ATSC section parse handle both TVCT and CVCT as they are
nearly the same struct (CVCT uses 2 reserved bits that are ignored
in TVCT).
This is changing the glib type and the struct name but TVCT wasn't
released in a stable package yet so there should be no problem.
Also includes some parsing fixes and changes short_name to be
directly stored as utf8 rather than utf16
https://bugzilla.gnome.org/show_bug.cgi?id=730642
Thiago Santos [Wed, 28 May 2014 16:11:05 +0000 (13:11 -0300)]
examples: ts-parser: add TVCT and CVCT tables dumping
https://bugzilla.gnome.org/show_bug.cgi?id=730642
Sebastian Dröge [Thu, 29 May 2014 08:37:02 +0000 (10:37 +0200)]
glupload: Fix assertion after API changes
Matthew Waters [Thu, 29 May 2014 08:33:10 +0000 (18:33 +1000)]
gl/colorconvert: keep our private pointer
again, avoid to much trigger
Matthew Waters [Thu, 29 May 2014 08:32:48 +0000 (18:32 +1000)]
tests: update for glupload changes
Matthew Waters [Thu, 29 May 2014 07:29:41 +0000 (17:29 +1000)]
gl/colorconvert: use GstObject's lock instead of our own
Matthew Waters [Thu, 29 May 2014 07:12:03 +0000 (17:12 +1000)]
gl/colorconvert: remove unnecassary pointer inderection
Matthew Waters [Thu, 29 May 2014 06:45:37 +0000 (16:45 +1000)]
gl/upload: re add the upload meta to the private struct
try and avoid being to trigger happy
Matthew Waters [Thu, 29 May 2014 06:29:09 +0000 (16:29 +1000)]
gl/upload: small code cleanup and gst-indent
Matthew Waters [Thu, 29 May 2014 06:22:52 +0000 (16:22 +1000)]
gl/download: use GstObject's lock instead of out own
Matthew Waters [Thu, 29 May 2014 06:20:30 +0000 (16:20 +1000)]
gl/upload: use GstObject's lock instead of our own
Matthew Waters [Thu, 29 May 2014 06:18:08 +0000 (16:18 +1000)]
gl/filter: also remove the width/height in transform_caps
allows scaling in the filters
Matthew Waters [Thu, 29 May 2014 06:11:20 +0000 (16:11 +1000)]
gl/colorconvert: optimise the same format case
simply return the input buffer unchanged
Matthew Waters [Thu, 29 May 2014 06:07:40 +0000 (16:07 +1000)]
gl/colorconvert: fix YUY2/UYVY download for RG/LA textures
Matthew Waters [Thu, 29 May 2014 05:50:56 +0000 (15:50 +1000)]
gl/colorconvert: allocate output buffers
Allows the nop optimisation by simply reffing the input buffer.
Edward Hervey [Wed, 28 May 2014 14:18:13 +0000 (16:18 +0200)]
examples: Avoid shadowing main loop variable
We end up with interesting results otherwise :)
Edward Hervey [Wed, 28 May 2014 13:53:21 +0000 (15:53 +0200)]
examples: Add support for private-data-specifier and frequency-list
Edward Hervey [Wed, 28 May 2014 13:52:49 +0000 (15:52 +0200)]
mpegts: Make some fields optional
Some people might just not care about the contents
Edward Hervey [Wed, 28 May 2014 13:52:03 +0000 (15:52 +0200)]
mpegts: Update docs for DVB frequency list
Matthew Waters [Wed, 28 May 2014 13:21:07 +0000 (23:21 +1000)]
tests: update for recent glupload changes
GstGLUploadMeta object is now the GstVideoGLTextureUploadMeta
provider.
Sebastian Dröge [Wed, 28 May 2014 10:56:24 +0000 (12:56 +0200)]
mssdemux: Always use the redirect target to resolve relative URIs
But redownload the playlists from the original URI if it's not
a permanent redirect.
Sebastian Dröge [Wed, 28 May 2014 10:43:43 +0000 (12:43 +0200)]
dashdemux: Always use the redirect target to resolve relative URIs
But redownload the playlists from the original URI if it's not
a permanent redirect.
Sebastian Dröge [Wed, 28 May 2014 10:44:38 +0000 (12:44 +0200)]
hlsdemux: Don't set base URI if there was no redirect
Damian Ziobro [Wed, 28 May 2014 08:18:49 +0000 (09:18 +0100)]
hlsdemux: Make parsing of "-quoted key URIs more resilient
https://bugzilla.gnome.org/show_bug.cgi?id=730830
Sebastian Dröge [Wed, 28 May 2014 08:19:40 +0000 (10:19 +0200)]
hlsdemux: Always use the redirect target to resolve relative URIs
But redownload the playlists from the original URI if it's not
a permanent redirect.
Sebastian Dröge [Wed, 28 May 2014 07:42:44 +0000 (09:42 +0200)]
uridownloader: Store URI and redirect target in the downloaded fragments
Edward Hervey [Wed, 28 May 2014 05:40:19 +0000 (07:40 +0200)]
mpegts: Fix Logical Channel Descriptor parsing
No wonder we were getting garbage ...
Stefan Ringel [Tue, 27 May 2014 18:37:26 +0000 (20:37 +0200)]
example: ts-parser: add terrestrial delivery system descriptor
https://bugzilla.gnome.org/show_bug.cgi?id=730847
Stefan Ringel [Tue, 27 May 2014 18:32:42 +0000 (20:32 +0200)]
example: ts-parser: printing enum types
https://bugzilla.gnome.org/show_bug.cgi?id=730847
Matthew Waters [Wed, 28 May 2014 04:43:43 +0000 (14:43 +1000)]
gl/upload: fix incorrect type in macros
Matthew Waters [Wed, 28 May 2014 04:40:10 +0000 (14:40 +1000)]
gl/upload: add GstGLUploadMeta object
That simply deals with the provider aspect of GstVideoGLTextureUploadMeta.
Edward Hervey [Tue, 27 May 2014 15:34:05 +0000 (17:34 +0200)]
examples: Add DVB Extended event parsing
Edward Hervey [Tue, 27 May 2014 15:32:52 +0000 (17:32 +0200)]
mpegts: Ensure NULL-terminated language code
Yup, it breaks API and ABI, I know. But let's avoid people and bindings
printing out garbage
Edward Hervey [Tue, 27 May 2014 15:25:25 +0000 (17:25 +0200)]
mpegts: Fix Extended DVB descriptor parsing
We were over-reading data, and the nb_items field isn't needed,
it's a property of the GPtrArray
Matthew Waters [Tue, 27 May 2014 14:56:05 +0000 (00:56 +1000)]
gl/win32: make send_message reentrant
I could not find a comparable win32API function so keep the running
thread pointer to compare against.
https://bugzilla.gnome.org/show_bug.cgi?id=730782
Edward Hervey [Tue, 27 May 2014 14:17:39 +0000 (16:17 +0200)]
mpegts: Fix usage of memcpy
source and destination were inverted
Stefan Ringel [Mon, 26 May 2014 18:38:45 +0000 (20:38 +0200)]
examples: Add support for DVB multilingual component descriptor
https://bugzilla.gnome.org/show_bug.cgi?id=728429
Stefan Ringel [Mon, 26 May 2014 18:38:19 +0000 (20:38 +0200)]
examples: Add support for DVB multilingual service name descriptor
https://bugzilla.gnome.org/show_bug.cgi?id=728429
Stefan Ringel [Mon, 26 May 2014 18:37:53 +0000 (20:37 +0200)]
examples: Add support for DVB multilingual bouquet name descriptor
https://bugzilla.gnome.org/show_bug.cgi?id=728429
Stefan Ringel [Mon, 26 May 2014 18:37:21 +0000 (20:37 +0200)]
examples: Add support for DVB multilingual network name descriptor
https://bugzilla.gnome.org/show_bug.cgi?id=728429
Stefan Ringel [Thu, 17 Apr 2014 16:20:39 +0000 (18:20 +0200)]
mpegts: add multilingual component descriptor
https://bugzilla.gnome.org/show_bug.cgi?id=728429
Stefan Ringel [Thu, 17 Apr 2014 16:20:03 +0000 (18:20 +0200)]
mpegts: add multilingual service name descriptor
https://bugzilla.gnome.org/show_bug.cgi?id=728429
Stefan Ringel [Thu, 17 Apr 2014 16:10:51 +0000 (18:10 +0200)]
mpegts: add multilingual bouquet name descriptor
https://bugzilla.gnome.org/show_bug.cgi?id=728429
Stefan Ringel [Thu, 17 Apr 2014 16:07:52 +0000 (18:07 +0200)]
mpegts: add multilingual network name descriptor
https://bugzilla.gnome.org/show_bug.cgi?id=728429
Thiago Santos [Tue, 27 May 2014 13:21:45 +0000 (10:21 -0300)]
tsdemux: add/remove pads to flowcombiner differently due to streaming nature
Due to mpegts streaming nature some pads are created but are only added
later to the element. This can cause a scenario where the first stream
doesn't have an available decoder (while the next ones still pending
would have) and tsdemux will fail with not-linked as the first stream
added wouldn't be linked.
To avoid this tsdemux needs to add pads to the flowcombiner
when they are created instead of only when adding them to the
element.
Tim-Philipp Müller [Tue, 27 May 2014 12:56:34 +0000 (13:56 +0100)]
glcolorconvert: fix compiler warning
gstglcolorconvert.c:1133:11: error: 'j' may be used uninitialized in this function
Was used uninitialized when jumping to out label
in error case.
Matthew Waters [Tue, 27 May 2014 08:20:29 +0000 (18:20 +1000)]
gl/colorconvert: operate on buffers instead of memories
Thiago Santos [Tue, 27 May 2014 10:42:14 +0000 (07:42 -0300)]
mxfdemux: remove unread last_flow variable
it isn't necessary anymore and is already unused
Julien Isorce [Tue, 27 May 2014 10:28:27 +0000 (11:28 +0100)]
glimagesink: make it actually honor show-preroll-frame property
https://bugzilla.gnome.org/show_bug.cgi?id=730802
Sebastian Dröge [Tue, 27 May 2014 10:08:50 +0000 (12:08 +0200)]
mxfdemux: Compare positions to find the earliest pad, not flow returns
Julien Isorce [Tue, 27 May 2014 07:54:20 +0000 (08:54 +0100)]
gl: add missing cgl and eagl context type
https://bugzilla.gnome.org/show_bug.cgi?id=729245
Julien Isorce [Tue, 27 May 2014 07:46:16 +0000 (08:46 +0100)]
gl: rename platform cocoa to cgl
Before:
GST_GL_PLATFORM=cocoa GST_GL_WINDOW=cocoa
gst-launch-1.0 videotestsrc ! glimagesink
After:
GST_GL_PLATFORM=cgl GST_GL_WINDOW=cocoa
gst-launch-1.0 videotestsrc ! glimagesink
but still pass --enable-cocoa to configure script
because currently it can only be used with cocoa API.
We could later have cgl/gstglcontext_cgl.h that manages
a CGLContextObj directly and cocoa/gstglcontext_cocoa.h
would just wrap it.
So that it could be used with other Apple's window APIs.
https://bugzilla.gnome.org/show_bug.cgi?id=729245
Sebastian Dröge [Tue, 27 May 2014 06:51:09 +0000 (08:51 +0200)]
Revert "androidmedia: Place some const keywords in a few places"
This reverts commit
3078b3a34c1f75b86bd629df1cd7c089a0f69999.
gst_video_frame_map() doesn't take a const GstVideoInfo*, so
all this is rather useless.
Matthew Waters [Tue, 27 May 2014 03:55:15 +0000 (13:55 +1000)]
gl/mixer: don't segfault when we don't have a buffer
https://bugzilla.gnome.org/show_bug.cgi?id=729257
Matthew Waters [Tue, 27 May 2014 03:04:39 +0000 (13:04 +1000)]
gl/window_x11: avoid BadDrawable error on shutdown
Thiago Santos [Mon, 26 May 2014 20:34:40 +0000 (17:34 -0300)]
mxfdemux: use GstFlowCombiner
Removes flow return combination code to use the newly added GstFlowCombiner
https://bugzilla.gnome.org/show_bug.cgi?id=709224
Thiago Santos [Mon, 26 May 2014 20:18:01 +0000 (17:18 -0300)]
mpegdemux: use GstFlowCombiner
Removes flow return combination code to use the newly added GstFlowCombiner
https://bugzilla.gnome.org/show_bug.cgi?id=709224
Thiago Santos [Fri, 23 May 2014 21:26:57 +0000 (18:26 -0300)]
tsdemux: use GstFlowCombiner
Removes flow return combination code to use the newly added GstFlowCombiner
Matthew Waters [Tue, 27 May 2014 00:47:25 +0000 (10:47 +1000)]
gl/context_egl: pass the vars in the right order to DestroySurface
https://bugzilla.gnome.org/show_bug.cgi?id=728514
Sebastian Dröge [Mon, 26 May 2014 14:31:11 +0000 (16:31 +0200)]
androidmedia: Place some const keywords in a few places
Chen Jie [Wed, 13 Nov 2013 10:41:33 +0000 (18:41 +0800)]
androidmedia: add gst_amc_color_format_copy
gst_amc_color_format_copy will copy in/out a frame resides at a
GstAmcBuffer. Lots of codes in gst_amc_video_*_fill_buffer are moved to
this new function.
Chen Jie [Tue, 8 Oct 2013 13:11:48 +0000 (21:11 +0800)]
androidmedia: move create_src|sink_caps to gstamc.c
Some hack logic needs also to be present in create_src|sink_caps, for
working around some broken codecs. These hacks are hidden
in color_format/video_format conversion -- the prototypes of these
functions are also changed to include more args for hack judgement.
Also in case of multi-color_formats mapped to one video_format, then
map that video_format back will not give the original color_format, which
causes gst_amc_codec_configure failed with something like
'does not support color format N'.
The new prototype involves with GstAmcCodecInfo and mime, which
ensures the converted color_format is supported by the codec.
A COLOR_FormatYCbYCr to GST_VIDEO_FORMAT_YUY2 mapping is also added, in
order to work around bugs in OMX.k3.video.decoder.avc(which incorrectly
reports supporting COLOR_FormatYCbYCr, which is actually
COLOR_FormatYUV420SemiPlanar). There are already hacks for this in
gst_amc_video_format_to_color_format, gst_amc_color_format_to_video_format
and gst_amc_color_format_info_set, but the codec will still not work(be
ignored because of "has unknown color formats") without adding this mapping.
Stefan Ringel [Fri, 11 Apr 2014 13:14:17 +0000 (15:14 +0200)]
dvb: parsechannels: add delsys property
Signed-off-by: Stefan Ringel <linuxtv@stefanringel.de>
https://bugzilla.gnome.org/show_bug.cgi?id=709414
Edward Hervey [Mon, 26 May 2014 11:29:53 +0000 (13:29 +0200)]
win32: update .def for new symbols
Vincent Penquerc'h [Fri, 11 Apr 2014 14:38:16 +0000 (15:38 +0100)]
dvbsrc: map SYS_DVBC_ANNEX_A SYS_DVBC_ANNEX_AC for DVB API < 5.6
https://bugzilla.gnome.org/show_bug.cgi?id=721869
Vincent Penquerc'h [Tue, 15 Apr 2014 08:31:02 +0000 (09:31 +0100)]
dvbsrc: fix typo in testing flag
% instead of &
https://bugzilla.gnome.org/show_bug.cgi?id=721869
Chen Jie [Sun, 25 May 2014 07:16:13 +0000 (15:16 +0800)]
amcvideoenc: Unit of bitrate property is now bit/sec
https://bugzilla.gnome.org/show_bug.cgi?id=705129
Edward Hervey [Mon, 26 May 2014 09:55:31 +0000 (11:55 +0200)]
examples: Add support for DVB Bouquet Name parsing
Edward Hervey [Mon, 26 May 2014 09:54:50 +0000 (11:54 +0200)]
mpegts: Fix Bouquet Name parsing
the field is not length prefixed
Edward Hervey [Mon, 26 May 2014 09:42:46 +0000 (11:42 +0200)]
examples: Add support for DVB Service List descriptor
Stefan Ringel [Thu, 17 Apr 2014 12:56:23 +0000 (14:56 +0200)]
mpegts: add bouquet name descriptor
https://bugzilla.gnome.org/show_bug.cgi?id=728364
Stefan Ringel [Thu, 17 Apr 2014 12:55:29 +0000 (14:55 +0200)]
mpegts: add stuffing descriptor
https://bugzilla.gnome.org/show_bug.cgi?id=728364
Stefan Ringel [Thu, 17 Apr 2014 12:54:28 +0000 (14:54 +0200)]
mpegts: add service list descriptor
https://bugzilla.gnome.org/show_bug.cgi?id=728364
Miguel París Díaz [Sat, 10 May 2014 16:32:28 +0000 (18:32 +0200)]
opusenc: Use aux vars to minimize critical region
This avoid dead lock between gst_audio_encoder_finish_frame() and
gst_opus_enc_get_property().
Also, now bytes var is set into protected section.
https://bugzilla.gnome.org/show_bug.cgi?id=729882
Stefan Ringel [Sat, 24 May 2014 17:51:12 +0000 (19:51 +0200)]
dvbsrc: Add missing tone ioctl
https://bugzilla.gnome.org/show_bug.cgi?id=730692
Nicolas Dufresne [Sun, 25 May 2014 13:03:32 +0000 (09:03 -0400)]
glfilter: Remove format information to allow color convert again
We also need to remove the format information, as glfilter can do
color convertion. This code was imported from videoconvert.
https://bugzilla.gnome.org/show_bug.cgi?id=729861
Matthew Waters [Sun, 25 May 2014 01:44:57 +0000 (11:44 +1000)]
gl/memory: allocate the correct memory size
and avoid wasting resources we will never need
https://bugzilla.gnome.org/show_bug.cgi?id=730703
Nicolas Dufresne [Sat, 24 May 2014 03:02:32 +0000 (23:02 -0400)]
glcolorconvert: Fix YUY2 and UYVY support with luminance_alpha
https://bugzilla.gnome.org/show_bug.cgi?id=730666
Jorge Zapata [Tue, 3 Dec 2013 11:09:58 +0000 (12:09 +0100)]
androidmedia: Add a new QCOM color format
It is a NV12 based, aligned to 32 bytes
https://bugzilla.gnome.org/show_bug.cgi?id=730635
Sebastian Dröge [Fri, 23 May 2014 13:00:42 +0000 (15:00 +0200)]
androidmedia: First try to get symbols from the current program, then load libdvm
If the application is using the new ART runtime it will otherwise
load dalvik and start a dalvik VM next to the ART VM.
Does not work very well obviously.
Chen Jie [Mon, 1 Apr 2013 07:49:01 +0000 (07:49 +0000)]
androidmedia: add support for video encoding
https://bugzilla.gnome.org/show_bug.cgi?id=705129
Matthew Waters [Fri, 23 May 2014 02:07:50 +0000 (12:07 +1000)]
gl/memory: provide compatability defines
fixes build on android/OS X
Matthew Waters [Fri, 23 May 2014 01:01:06 +0000 (11:01 +1000)]
gl/colorconvert: remove scratch texture for YUY2/UYVY
We can get all our data from the one RG/LA texture with some shader magic.
https://bugzilla.gnome.org/show_bug.cgi?id=728890
Matthew Waters [Fri, 23 May 2014 00:59:05 +0000 (10:59 +1000)]
gl/memory: RGBA/UNSIGNED_BYTE only format supported by ReadPixels GLES2
Error out in case we attempt to read with any other invalid format.
Matthew Waters [Fri, 23 May 2014 00:57:24 +0000 (10:57 +1000)]
gl/memory: generate textures with a sized internal format
Required in order to generate RG and RED textured with GLES3.
Matthew Waters [Wed, 21 May 2014 11:47:45 +0000 (21:47 +1000)]
gl/memory: implement GL_EXT_texture_rg support
Which is used by default over the Luminance formats due to it
being color renderable with fbos (and deprecation/removal with
GL 3.x).
https://bugzilla.gnome.org/show_bug.cgi?id=729750
https://bugzilla.gnome.org/show_bug.cgi?id=704222
https://bugzilla.gnome.org/show_bug.cgi?id=728890
Nicolas Dufresne [Thu, 22 May 2014 15:50:16 +0000 (11:50 -0400)]
Revert "h264parser: Remove unused fps_num/fps_den fields"
This breaks the build since mss has not been ported.
This reverts commit
aeb6a520742fd82888e41ea23f9a39add51125a0.
Sebastian Dröge [Thu, 22 May 2014 14:12:01 +0000 (16:12 +0200)]
h264parser: Remove unused fps_num/fps_den fields
Instead the newly added function should be used to calculate
the framerate properly.
Aurélien Zanelli [Mon, 19 May 2014 15:52:38 +0000 (17:52 +0200)]
h264parse: use new gst_h264_video_calculate_framerate() to get framerate
https://bugzilla.gnome.org/show_bug.cgi?id=723352
Aurélien Zanelli [Mon, 19 May 2014 15:43:54 +0000 (17:43 +0200)]
codecparsers_h264: add gst_h264_video_calculate_framerate()
Add a new function to calculate video stream framerate which rely on
SPS, slice header and pic timing using formula:
time_scale 1 1
fps = ----------------- x --------------- x ------------------------
num_units_in_tick DeltaTfiDivisor (field_pic_flag ? 2 : 1)
See section E2.1 of H264 specification for definition of variables.
https://bugzilla.gnome.org/show_bug.cgi?id=723352
Matthew Waters [Wed, 21 May 2014 11:44:40 +0000 (21:44 +1000)]
gl/context: add gl extension checking to check_feature()
Useful for extensions that do not define any new GL API entrypoints
but can still modify behaviour when used.
Matthew Waters [Wed, 21 May 2014 10:36:37 +0000 (20:36 +1000)]
gl/download: fixup YUY2/UYVY download
Regression from
2da979831ec3b1a8d993eb6f2d3999c5810c4d67 as it did
not update the download code to reflect the change in texture format.
Aurélien Zanelli [Mon, 19 May 2014 09:48:55 +0000 (11:48 +0200)]
h264parse: set field_pic_flag when parsing a slice header
field_pic_flag was used but never set to other value than its default
https://bugzilla.gnome.org/show_bug.cgi?id=730363
Damian Ziobro [Thu, 22 May 2014 10:54:40 +0000 (11:54 +0100)]
hlsdemux: Fix storing of the IV based on the media sequence number
https://bugzilla.gnome.org/show_bug.cgi?id=730574
Michael Olbrich [Thu, 22 May 2014 10:23:57 +0000 (12:23 +0200)]
dvbsrc: fix building with newer kernel headers
c400eef3772b7dc470eefae02a1288c2b125e25c introduced some defines to handle
older kernel headers. However, the check is done before the corresponding
kernel header (dvb/frontend.h) is included. As a result the macros are
always defined with results in 'redefined' errors with newer kernel
headers.
Move the check after the include to fix this.
https://bugzilla.gnome.org/show_bug.cgi?id=730570
Sebastian Dröge [Wed, 21 May 2014 11:23:30 +0000 (13:23 +0200)]
Back to development