Sebastian Dröge
155222017a
codec-utils: H265 level idc 0 is not valid
...
Don't put level=0 into the caps, it confuses other elements.
https://bugzilla.gnome.org/show_bug.cgi?id=765538
2016-04-25 16:49:20 +03:00
Sebastian Dröge
7741e56db4
codec-utils: H264 level idc 0 is not valid
...
Don't put level=0 into the caps, it confuses other elements.
https://bugzilla.gnome.org/show_bug.cgi?id=765538
2016-04-25 16:49:20 +03:00
Sebastian Dröge
fc99a61774
encoding-profile: Remove codec_data and streamheader fields from constraint caps
...
When converting discoverer output to an encoding profile, it makes sense to
omit these. It's very very unlikely that our encoder is going to produce bit
by bit the same codec_data or streamheader.
https://bugzilla.gnome.org/show_bug.cgi?id=765534
2016-04-25 16:07:50 +03:00
Sebastian Dröge
fd32d5812a
encoding-profile: Don't put G_BEGIN_DECLS around #include statements
...
It should only be around our own declarations.
2016-04-25 15:06:23 +03:00
Tim-Philipp Müller
2102fdc983
discoverer: copy over result and seekable fields when copying a discoverer info
...
The function gst_discoverer_info_copy doesn't copy the data members seekable
and result of the source GstDiscovererInfo.
In the case of copying a GstDiscovererInfo for later use, the seekbale will be
undefined, which in practice usually will be false, even though the seekable of
the original GstDiscovererInfo is true.
https://bugzilla.gnome.org/show_bug.cgi?id=762710
2016-04-02 10:09:46 +01:00
Jimmy Ohn
65f721b326
codec-utils: Add utilities for AAC and the AACHead header
...
Add utilities about the channels and sample rate for AAC.
https://bugzilla.gnome.org/show_bug.cgi?id=749110
2016-03-24 14:27:21 +02:00
Víctor Manuel Jáquez Leal
327d617d39
install-plugins: update documentation
...
Use gst-inspect-1.0 instead of gst-inspect-0.10
https://bugzilla.gnome.org/show_bug.cgi?id=763316
2016-03-24 10:29:27 +02:00
Lim Siew Hoon
5ae5f9055f
pbutils: docs: Remove the empty lines in between <refsect2> and </refsect2>
...
They are converted into <para></para> by gtk-doc...
https://bugzilla.gnome.org/show_bug.cgi?id=762674
2016-02-26 14:46:44 +02:00
Sebastian Dröge
87f380867b
audiovisualizer: Let GstAudioVisualizerShader enum GType be autogenerated by glib-mkenums
...
That happens automatically already anyway.
2016-02-25 20:40:02 +02:00
Luis de Bethencourt
e23b12b1c9
visual: correct type name
...
Base class type name should not reference libvisual since not all child
elements use this. This was an oversight when merging audiovisualizers into
a common base class.
2016-02-25 10:51:50 +00:00
Sebastian Dröge
43655580e7
encoding-profile: Check for FALSE'ness directly, not by comparing with FALSE
2015-12-29 17:56:21 +02:00
Sebastian Dröge
f31240a765
encoding-profile: Don't use preset_name string after free
...
When we run the loop for another time and do not have a preset name, we would
try to print the preset name of a previous iteration that is already freed.
Also move some other variables into the block where they are actually used
to prevent similar mistakes in the future.
CID 1346536
2015-12-29 17:55:23 +02:00
Sebastian Dröge
7fddeaa878
pbutils: Link to libgstbase for bytewriter and adapter
2015-12-24 13:59:52 +01:00
Thibault Saunier
512ac3ea72
encodebin: Implement an encoding profile serialization format
...
https://bugzilla.gnome.org/show_bug.cgi?id=759356
2015-12-24 09:52:53 +01:00
Xavier Claessens
429860e51f
base: Add g_autoptr() support to all types
...
https://bugzilla.gnome.org/show_bug.cgi?id=754464
2015-12-14 13:39:43 -05:00
Reynaldo H. Verdejo Pinochet
4ed7b0a0e6
Drop usage of deprecated g-ir-scanner --strip-prefix flag
2015-12-02 20:19:43 -08:00
Edward Hervey
f9b9472ad4
discoverer: Also consider XSUB as a subtitle format
2015-12-02 16:37:50 +01:00
Edward Hervey
817c780380
pbutils: Add description for XSUB subpicture format
2015-12-02 16:37:50 +01:00
Luis de Bethencourt
2a70c86e85
codec-utils: accept wrong version field in OpusHead header
...
Some Opus files found on the wild have 0 in the version field of the
OpusHead header, instead of the correct value of 1. The files still
play, don't make this error fatal.
https://bugzilla.gnome.org/show_bug.cgi?id=758754
2015-12-01 15:47:35 +00:00
Reynaldo H. Verdejo Pinochet
0c95b0a738
Remove unnecessary NULL checks before g_free()
...
g_free() is NULL-safe
2015-11-17 14:50:27 -08:00
Luis de Bethencourt
09c881ee14
codec-utils: guint8 can't hold value over 255
...
channels is a guint8, so the max value is 255 and checking if it value is
> 256 will never be false.
CID 1338687, CID 1338688
2015-11-12 14:39:22 +00:00
Vineeth TM
3f099e3c29
pbutils:encoding-target: Fix string memory leak
...
https://bugzilla.gnome.org/show_bug.cgi?id=757926
2015-11-11 15:40:52 +01:00
Thibault Saunier
629b63d1f2
discoverer: Check API arguments and assert if needed
2015-11-07 00:46:47 +01:00
Sebastian Dröge
bcd7b2fff2
codec-utils: Add utilities for Opus caps and the OpusHead header
...
https://bugzilla.gnome.org/show_bug.cgi?id=757152
2015-11-03 20:35:33 +02:00
Thibault Saunier
a7123ebb58
encoding-profile: Do not force user to provide an encoding profile name
...
And use the profile called `default` if none provided.
2015-11-02 11:35:55 +01:00
Thibault Saunier
83fa06aab5
encoding-target: Do not unconditionally break when searching for a target
...
Otherwise the loop is useless!
Fixes CID 1338051
2015-11-02 11:31:34 +01:00
Thibault Saunier
2e20f3ba4f
encoding-target: Add a GST_ENCODING_TARGET_PATH envvar to find target files
2015-10-28 16:07:44 +01:00
Thibault Saunier
96f69fa998
encoding-target: Allow having encoding target without a category set
...
There was already some code to handle that, but the support was not
complete in those code paths.
2015-10-28 16:07:44 +01:00
Thibault Saunier
0256381f6f
encoding-target: Create directory before trying to save encoding targets
2015-10-28 16:07:44 +01:00
Thibault Saunier
db272cf9cb
encoding-profile: Allow specifying the target category in the serialized encoding target
2015-10-28 16:07:44 +01:00
Luis de Bethencourt
e90464d2f9
visual: make private all variable subclasses don't need
...
Subclasses don't need access to all variables. Making them private.
https://bugzilla.gnome.org/show_bug.cgi?id=742875
2015-10-01 16:05:58 +01:00
Luis de Bethencourt
8ae0fd3990
visual: merge audiovisalizer base classes
...
Move the audiovisualizer base class to pbutils, so it can be used by plugins
from other modules
https://bugzilla.gnome.org/show_bug.cgi?id=742875
2015-10-01 16:05:58 +01:00
Vineeth TM
fd7724b6e1
pbutils: discoverer: Set GError when NULL info is being returned.
...
When discovering the URI, if info is NULL, then instead of just returning NULL,
set the GError, so the error can be printed and notified.
https://bugzilla.gnome.org/show_bug.cgi?id=753701
2015-08-18 12:13:41 +03:00
Thibault Saunier
70363766cd
discoverer: Fix a wrong naming in the documentation
...
gst_discoverer_stream_get_missing_elements_installer_details does not
exist, one should use gst_discoverer_info_get_missing_elements_installer_details
2015-06-17 10:16:47 +02:00
Nicolas Dufresne
c101452a4a
gi: Use INTROSPECTION_INIT for --add-init-section
...
This new define was added to common. The new init section fixed
compilation warning found in the init line that was spread across
all files.
2015-06-16 18:04:57 -04:00
Mathieu Duponchelle
decea41ac7
discoverer: Serialize the top level DiscovererInfo
...
Which contains fields such as duration, uri and tags.
https://bugzilla.gnome.org/show_bug.cgi?id=749673
2015-06-04 19:16:40 +02:00
Sebastian Dröge
b3b2251c59
codec-utils: Add AAC channel configurations 11, 12 and 14 and levels 6 and 7
2015-06-04 16:31:12 +02:00
Tim-Philipp Müller
c0f55ecf4d
pbutils: add description for video/x-cavs caps
...
https://bugzilla.gnome.org/show_bug.cgi?id=727731
2015-06-02 12:47:50 +01:00
Thibault Saunier
dcfb8a83a5
encodebin: Add a way to enable/disabled a GstEncodingProfile
...
Summary:
So that the user can easily use the same encoding profile to render
with/without audio/video stream.
API:
gst_encoding_profile_is_disabled
gst_encoding_pofile_set_enabled
https://bugzilla.gnome.org/show_bug.cgi?id=749056
2015-06-01 10:22:31 +02:00
Tim-Philipp Müller
a24b9cd5c2
discoverer: don't crash on unknown info types when deserializing
...
Handle unknown info types when deserializing instead of
dereferencing NULL pointers.
Coverity CID 1302394
2015-05-29 15:30:41 +01:00
Mathieu Duponchelle
7048ecdc49
gstdiscoverer: Add since annotation.
...
Forgot to add the since annotation to the
GstDiscovererSerializeFlags in the previous commit.
2015-05-19 18:53:09 +02:00
Mathieu Duponchelle
2e423dd129
discoverer: Add serialization methods.
...
[API] gst_discoverer_info_to_variant
[API] gst_discoverer_info_from_variant
[API] GstDiscovererSerializeFlags
+ Serializes as a GVariant
+ Adds a test
+ Does not serialize potential GstToc (s)
https://bugzilla.gnome.org/show_bug.cgi?id=748814
2015-05-19 18:48:07 +02:00
Sreerenj Balachandran
6af56187e8
pbutils: Use more strict profile checking for hevc
...
Use the profile_idc value to set the profile string in caps.
Don't use compatibility flags for this purpose.
https://bugzilla.gnome.org/show_bug.cgi?id=747613
2015-04-30 21:42:34 +02:00
Tim-Philipp Müller
c680e324bc
Remove obsolete Android build cruft
...
This is not needed any longer.
2015-04-26 18:42:34 +01:00
Guillaume Desmottes
d7d8fc5652
discoverer: fix GstToc leak when parsing toc messages
...
gst_message_parse_toc() returns a reffed GstToc which is owned by the
GstDiscovererInfo. But we have to make sure we unref its previous value before
setting the new one.
https://bugzilla.gnome.org/show_bug.cgi?id=747103
2015-04-17 14:49:01 +01:00
Edward Hervey
3eb35c77cc
introspection: Don't use g-ir-scanner cache at compile time
...
It pollutes user directories and we don't need to cache it
https://bugzilla.gnome.org/show_bug.cgi?id=747095
2015-03-31 11:21:43 +02:00
Olivier Crête
6046421ecc
pbutils: description: Make static strings static
...
Otherwise, they're not guaranteed to still be valid when leaving the scope.
https://bugzilla.gnome.org/show_bug.cgi?id=673976
2015-02-27 15:08:50 -05:00
Tim-Philipp Müller
f0f6bd4910
pbutils: description: fix MPEG-2 video profiles in description
...
We would accidentally use the profile nick as profile name
in the description for MPEG video that's not version 4.
2015-02-18 11:34:15 +00:00
Sebastian Dröge
11c126363f
Revert "codec-utils: Handle the two rext profiles for h265"
...
This reverts commit 19b9356680
.
These two "profiles" are actually a complete set of profiles, which we will
need to handle separately. Unfortunately it seems like we need information
from the SPS to detect the exact profile.
2015-02-16 09:48:03 +02:00
Tim-Philipp Müller
6af7b70162
pbutils: description: move some code into utility function
2015-02-15 20:08:36 +00:00