gupnp:gupnp-dlna.git
11 years agodoc: Update NEWS for 0.4.1 gupnp-dlna-0.4.1
Arun Raghavan [Tue, 12 Oct 2010 10:06:45 +0000 (15:36 +0530)]
doc: Update NEWS for 0.4.1

11 years agogst-convenience: Change GstDiscoverer namespace
Arun Raghavan [Wed, 6 Oct 2010 06:22:20 +0000 (11:52 +0530)]
gst-convenience: Change GstDiscoverer namespace

This prevents a collision between the discoverer class created by
gst-plugins-base 0.10.31 or newer and the one created by our internal
copy of gst-convenience. This change is necessary till we port
gupnp-dlna to use GstDiscoverer from gst-plugins-base, after which the
internal copy of discoverer can be discarded entirely.

11 years agobuild: Fix directory permissions during 'make install'
Arun Raghavan [Wed, 6 Oct 2010 11:02:13 +0000 (16:32 +0530)]
build: Fix directory permissions during 'make install'

Thanks to Ryo ONODERA <ryo_on@yk.rim.or.jp> for pointing this out and
providing a patch.

http://bugzilla.openedhand.com/show_bug.cgi?id=2199

11 years agobuild: Post-release version bump to 0.4.1
Arun Raghavan [Wed, 6 Oct 2010 06:18:41 +0000 (11:48 +0530)]
build: Post-release version bump to 0.4.1

11 years agotests: remove dependency on pbutils and build dlna-encoding
Parthasarathi Susarla [Sun, 3 Oct 2010 19:01:51 +0000 (00:31 +0530)]
tests:  remove dependency on pbutils and build dlna-encoding

11 years agoNEWS: Update list of contributors to the release gupnp-dlna-0.4.0
Arun Raghavan [Mon, 27 Sep 2010 18:14:03 +0000 (23:44 +0530)]
NEWS: Update list of contributors to the release

11 years agodoc: Update NEWS about linking against pbutils
Arun Raghavan [Mon, 27 Sep 2010 17:15:57 +0000 (22:45 +0530)]
doc: Update NEWS about linking against pbutils

11 years agotests: Don't build dlna-encoding temporarily
Arun Raghavan [Mon, 27 Sep 2010 16:46:21 +0000 (22:16 +0530)]
tests: Don't build dlna-encoding temporarily

This depends on pbutils, which, post gst-plugins-base 0.10.30, conflicts
with our internal copy of GstDiscoverer.

11 years agotools: Don't depend on pbutils
Arun Raghavan [Mon, 27 Sep 2010 16:42:32 +0000 (22:12 +0530)]
tools: Don't depend on pbutils

Removes the dependency on pbutils temporarily since internal
gst-convenience conflicts with the version merged into gst-plugins-base.

11 years agodoc: Update NEWS for 0.4.0
Arun Raghavan [Fri, 24 Sep 2010 14:16:32 +0000 (19:46 +0530)]
doc: Update NEWS for 0.4.0

11 years agobuild: Bump version to 0.4.0
Arun Raghavan [Fri, 24 Sep 2010 14:15:11 +0000 (19:45 +0530)]
build: Bump version to 0.4.0

11 years agobuild: Add library versioning
Arun Raghavan [Fri, 24 Sep 2010 14:14:32 +0000 (19:44 +0530)]
build: Add library versioning

11 years agotests: Allow the test harness to run out-of-tree
Arun Raghavan [Fri, 24 Sep 2010 05:15:05 +0000 (10:45 +0530)]
tests: Allow the test harness to run out-of-tree

Provides the option of picking up gupnp-dlna-info from any arbitrary
location.

11 years agodoc: Update NEWS for 0.3.1 gupnp-dlna-0.3.1
Arun Raghavan [Thu, 26 Aug 2010 18:18:18 +0000 (23:48 +0530)]
doc: Update NEWS for 0.3.1

11 years agoxml: Add JPEG icon profiles
Zeeshan Ali (Khattak) [Wed, 4 Aug 2010 22:33:16 +0000 (01:33 +0300)]
xml: Add JPEG icon profiles

11 years agoxml: Add PNG icon profiles
Zeeshan Ali (Khattak) [Wed, 4 Aug 2010 22:23:45 +0000 (01:23 +0300)]
xml: Add PNG icon profiles

11 years agolibgupnp-dlna: Fix PNG support
Arun Raghavan [Mon, 30 Aug 2010 18:44:53 +0000 (00:14 +0530)]
libgupnp-dlna: Fix PNG support

The depth was not being used for matching, which broke PNG support.

11 years agodoc: Missed adding Zeeshan to credits earlier
Arun Raghavan [Thu, 26 Aug 2010 18:18:07 +0000 (23:48 +0530)]
doc: Missed adding Zeeshan to credits earlier

11 years agobuild: Bump version to 0.3.1
Arun Raghavan [Wed, 25 Aug 2010 15:35:12 +0000 (21:05 +0530)]
build: Bump version to 0.3.1

11 years agotools: Relaxed mode support for gupnp-dlna-ls-profiles
Arun Raghavan [Wed, 25 Aug 2010 15:24:39 +0000 (20:54 +0530)]
tools: Relaxed mode support for gupnp-dlna-ls-profiles

This really has value only in verbose mode, when the actual profile
restrictions are printed, but might be useful for getting debug
information from users.

11 years agolibgupnp-dlna: Add support for extended profiles
Arun Raghavan [Tue, 24 Aug 2010 14:31:44 +0000 (20:01 +0530)]
libgupnp-dlna: Add support for extended profiles

This adds support for 'extended' profiles, which will allow us to define
profiles for media types not supported by the DLNA spec (like Ogg,
Theora, Mattroska, AVI).

Also included are changes to mark extended profiles as so in
gupnp-dlna-ls-profiles.

11 years agoxml: Ignore PAR in relaxed mode for AVC*
Arun Raghavan [Wed, 25 Aug 2010 15:12:34 +0000 (20:42 +0530)]
xml: Ignore PAR in relaxed mode for AVC*

11 years agoxml: Relax AVC_MP4_MP_HD_1080i_AAC profile restrictions
Arun Raghavan [Wed, 25 Aug 2010 15:11:04 +0000 (20:41 +0530)]
xml: Relax AVC_MP4_MP_HD_1080i_AAC profile restrictions

11 years agoxml: Relax AVC_MP4_MP_HD_720p_AAC profile restrictions
Arun Raghavan [Wed, 25 Aug 2010 15:10:28 +0000 (20:40 +0530)]
xml: Relax AVC_MP4_MP_HD_720p_AAC profile restrictions

11 years agoxml: Relax AVC_MP4_MP* profile restrictions
Arun Raghavan [Wed, 25 Aug 2010 15:04:40 +0000 (20:34 +0530)]
xml: Relax AVC_MP4_MP* profile restrictions

11 years agoxml: Relax AVC_MP4_BL_L3* profile restrictions
Arun Raghavan [Wed, 25 Aug 2010 10:02:24 +0000 (15:32 +0530)]
xml: Relax AVC_MP4_BL_L3* profile restrictions

11 years agoxml: Relax AVC_MP4_BL_CIF15_* profile restrictions
Arun Raghavan [Tue, 24 Aug 2010 09:44:06 +0000 (15:14 +0530)]
xml: Relax AVC_MP4_BL_CIF15_* profile restrictions

11 years agoxml: Relax MPEG1 profile restrictions
Arun Raghavan [Tue, 24 Aug 2010 09:43:22 +0000 (15:13 +0530)]
xml: Relax MPEG1 profile restrictions

11 years agoxml: Relax AAC profile restrictions
Arun Raghavan [Tue, 24 Aug 2010 09:42:34 +0000 (15:12 +0530)]
xml: Relax AAC profile restrictions

11 years agotools: add arguments to gupnp-dlna-info
Parthasarathi Susarla [Wed, 25 Aug 2010 07:58:53 +0000 (13:28 +0530)]
tools: add arguments to gupnp-dlna-info

gupnp-dlna-info now takes two additional arguments
-r to enable relaxed mode support and -e to enable
extended mode support

11 years agolibgupnp-dlna: Fix relaxed-mode <field> processing
Arun Raghavan [Wed, 25 Aug 2010 14:06:09 +0000 (19:36 +0530)]
libgupnp-dlna: Fix relaxed-mode <field> processing

When skipping a field, we need to make sure we don't touch the out
parameter (caps_str).

11 years agolibgupnp-dlna: Add relaxed mode support
Parthasarathi Susarla [Tue, 24 Aug 2010 07:51:01 +0000 (13:21 +0530)]
libgupnp-dlna: Add relaxed mode support

 * dlna-profiles.rng
   Modify the xml schema to support relaxed mode
 * gupnp-dlna-discoverer.[hc]
   Add an array of profiles_list to support every
   combination of relaxed and extended mode support
 * gupnp-dlna-load.[hc]
   Parse the xml (dlna profiles) files depending on
   the mode (either relaxed or strict) set on the
   discoverer
 * dlna-profile-parser.c
   Add parameters to the test program to test for
   relaxed and extended mode support

11 years agolicense: Change to the LGPL v2.1
Arun Raghavan [Tue, 24 Aug 2010 10:17:35 +0000 (15:47 +0530)]
license: Change to the LGPL v2.1

The terms remain the same, essentially. It's just a nomenclature change
(s/Library/Lesser/g).

11 years agobuild: Clean up library deps for tools and tests
Arun Raghavan [Wed, 18 Aug 2010 19:16:17 +0000 (00:46 +0530)]
build: Clean up library deps for tools and tests

The library dependencies were fairly badly mangled during initial
development of tools and tests. This sanitizes the autofoo for these
(and should fix build issues faced in distro packaging).

11 years agobuild: Fix pkgconfig files
Arun Raghavan [Wed, 18 Aug 2010 10:43:21 +0000 (16:13 +0530)]
build: Fix pkgconfig files

A number of small fixes and cleanups to the pkgconfig files

11 years agolibgupnp-dlna: Don't free the profiles list gupnp-dlna-0.3 gupnp-dlna-0.3.0
Arun Raghavan [Mon, 16 Aug 2010 17:33:34 +0000 (23:03 +0530)]
libgupnp-dlna: Don't free the profiles list

Freeing the list at finalize() time causes Discoverer to break after the
first instance is created. For now, we keep the list alive forever
(which was the original behaviour). Eventually, we'll change this so
that the lists only last for the lifetime of the objects.

11 years agolibgupnp-dlna: add 'extended' mode property
Parthasarathi Susarla [Mon, 16 Aug 2010 16:00:22 +0000 (21:30 +0530)]
libgupnp-dlna: add 'extended' mode property

This patch adds getters for the 'extended' mode
property on the GUPnPDLNAProfile class.

11 years agolibgupnp-dlna: add getters for properties
Parthasarathi Susarla [Mon, 16 Aug 2010 15:26:52 +0000 (20:56 +0530)]
libgupnp-dlna: add getters for properties

This patch adds the getters for relaxed_mode and extended_mode
of GUPnPDLNADiscoverer

11 years agolibgupnp-dlna: Remove unused variable
Arun Raghavan [Mon, 16 Aug 2010 15:11:37 +0000 (20:41 +0530)]
libgupnp-dlna: Remove unused variable

11 years agodocs: Update NEWS
Arun Raghavan [Mon, 16 Aug 2010 13:55:30 +0000 (19:25 +0530)]
docs: Update NEWS

11 years agobuild: Bump to version 0.3.0
Arun Raghavan [Mon, 16 Aug 2010 13:02:23 +0000 (18:32 +0530)]
build: Bump to version 0.3.0

Bumping to 0.3.0 since we've got a whole bunch of API changes.

11 years agolibgupnp-dlna: Don't depend on gcc-specific attributes
Arun Raghavan [Mon, 16 Aug 2010 12:32:37 +0000 (18:02 +0530)]
libgupnp-dlna: Don't depend on gcc-specific attributes

zeenix points out that g_getenv() isn't *that* expensive, so this
removes the dependency on GCC's constructor attribute. If in the future
we wish to optimise this, the constructor bits can be moved to a
gupnp_dlna_init() or to one of the class init functions.

11 years agobuild: Bump version to 0.2.2
Arun Raghavan [Mon, 16 Aug 2010 11:31:51 +0000 (17:01 +0530)]
build: Bump version to 0.2.2

11 years agolibgupnp-dlna: Add some debug output
Arun Raghavan [Mon, 16 Aug 2010 08:38:39 +0000 (14:08 +0530)]
libgupnp-dlna: Add some debug output

This allows us to debug why a file doesn't match any profile without
having to jump through hoops. The output can be enabled by setting the
environment variable GUPNP_DLNA_DEBUG to anything except '0'.

11 years agolibgupnp-dlna: add 'extended' mode property
Parthasarathi Susarla [Mon, 16 Aug 2010 08:20:31 +0000 (13:50 +0530)]
libgupnp-dlna: add 'extended' mode property

This patch adds the 'extended' mode propery on the GUPnPDLNAProfile
class.

11 years agolibgupnp-dlna: add 'relaxed' and 'extended' mode properties
Parthasarathi Susarla [Mon, 16 Aug 2010 08:10:12 +0000 (13:40 +0530)]
libgupnp-dlna: add 'relaxed' and 'extended' mode properties

This patch adds properties on the GUPnPDLNADiscoverer class for
'relaxed' mode and 'extended' mode support. These will be supported
in the next release.

11 years agodocs: Add GUPnPDLNAProfile generated docs
Arun Raghavan [Sat, 14 Aug 2010 17:48:41 +0000 (23:18 +0530)]
docs: Add GUPnPDLNAProfile generated docs

Since the GUPnPDLNAProfile object is now part of the public API (we
return it from a couple of GUPnPDLNADiscoverer functions), we add it to
the generated documentation as well.

11 years agolibgupnp-dlna: Update GUPnPDLNAProfile documentation
Arun Raghavan [Sat, 14 Aug 2010 17:48:09 +0000 (23:18 +0530)]
libgupnp-dlna: Update GUPnPDLNAProfile documentation

11 years agotools: Add a tool to list supported profiles
Parthasarathi Susarla [Sat, 14 Aug 2010 17:16:29 +0000 (22:46 +0530)]
tools: Add a tool to list supported profiles

This lists all supported profiles. There is a verbose mode (-v) which
dumps the GstCaps for the restrictions of that profile.

11 years agolibgupnp-dlna: Add an API to list profiles
Parthasarathi Susarla [Sat, 14 Aug 2010 16:21:07 +0000 (21:51 +0530)]
libgupnp-dlna: Add an API to list profiles

11 years agodocs: Add a note about Gst initialisation
Arun Raghavan [Sat, 14 Aug 2010 16:16:39 +0000 (21:46 +0530)]
docs: Add a note about Gst initialisation

This is particularly important now that we load profiles at Discoverer
class initialisation time.

11 years agolibgupnp-dlna: Move profile list to DLNADiscovererClass
Arun Raghavan [Sat, 14 Aug 2010 12:14:51 +0000 (17:44 +0530)]
libgupnp-dlna: Move profile list to DLNADiscovererClass

Instead of keeping the profile list loaded from disk in a static global
variable, we now make this a static member on the GUPnPDLNADiscoverer
class.

Corresponding to this, we move _get_profile() (and future API of a
similar nature) from the library-wide namespace into the class'
namespace.

Based on a patch from:
Parthasarathi Susarla <partha.susarla@collabora.co.uk>

11 years agolibgupnp-dlna: Clean up non-matched profiles
Arun Raghavan [Sat, 14 Aug 2010 11:58:47 +0000 (17:28 +0530)]
libgupnp-dlna: Clean up non-matched profiles

Once we're done loading profiles, we can remove the profiles with empty
names which are used as base profiles in inheritance but are actually
skipped while matching.

11 years agotests: Add a test harness for testing discoverer
Arun Raghavan [Wed, 14 Jul 2010 05:16:12 +0000 (10:46 +0530)]
tests: Add a test harness for testing discoverer

The harness expects a tests/media directory with a file list in the
format described in a comment at the top of the harness. The means to
set up the media directory will come in a subsequent commit.

11 years agolibgupnp-dlna: Support interlaced files
Arun Raghavan [Fri, 13 Aug 2010 21:15:13 +0000 (02:45 +0530)]
libgupnp-dlna: Support interlaced files

It's just a matter of setting the caps appropriately if the
GstVideoInformation structure has the corresponding field set.

11 years agoxml: Fix typo in AVC_MP4_MP_HD_1080i_AAC
Arun Raghavan [Fri, 13 Aug 2010 21:25:26 +0000 (02:55 +0530)]
xml: Fix typo in AVC_MP4_MP_HD_1080i_AAC

11 years agoxml: Add support for AVC_MP4_MP_HD_1080i
Arun Raghavan [Fri, 13 Aug 2010 06:01:48 +0000 (11:31 +0530)]
xml: Add support for AVC_MP4_MP_HD_1080i

11 years agoxml: Add support for AVC_MP4_MP_HD_720p_AAC
Arun Raghavan [Fri, 13 Aug 2010 05:59:36 +0000 (11:29 +0530)]
xml: Add support for AVC_MP4_MP_HD_720p_AAC

11 years agoxml: Factor out common resolutions
Arun Raghavan [Thu, 12 Aug 2010 20:54:06 +0000 (02:24 +0530)]
xml: Factor out common resolutions

11 years agoxml: Add support for some AVC_MP4_MP_SD* profiles
Arun Raghavan [Thu, 12 Aug 2010 20:09:20 +0000 (01:39 +0530)]
xml: Add support for some AVC_MP4_MP_SD* profiles

This adds support for the AVC_MP4_MP_SD_AAC_MULT5,
AVC_MP4_MP_SD_AAC_MPEG1_L3, and AVC_MP4_MP_SD_AC3 profiles.

11 years agoxml: Factor out AC3 restriction
Arun Raghavan [Thu, 12 Aug 2010 19:58:47 +0000 (01:28 +0530)]
xml: Factor out AC3 restriction

This will allow us to reuse the restrictions for video profiles with AC3
audio streams.

11 years agolibgupnp-dlna: Make GUPnPDLNAProfile opaque
Arun Raghavan [Thu, 12 Aug 2010 17:08:44 +0000 (22:38 +0530)]
libgupnp-dlna: Make GUPnPDLNAProfile opaque

This moves the public members of GUPnPDLNAProfile into a private
structure, accessible by getter methods and properties.

11 years agolibgupnp-dlna: Fix private structure registration
Arun Raghavan [Thu, 12 Aug 2010 14:08:32 +0000 (19:38 +0530)]
libgupnp-dlna: Fix private structure registration

We're registering the wrong type as the private type (which only worked
because GUPnPDLNAInformation is bigger than GUPnPDLNAInformationPrivate)

11 years agodocs: Add notes on transcoding
Arun Raghavan [Tue, 10 Aug 2010 14:38:53 +0000 (20:08 +0530)]
docs: Add notes on transcoding

Summarising a discussion from IRC. Needs some fleshing out.

11 years agoprint topology instead of just the stream info
Parthasarathi Susarla [Tue, 20 Jul 2010 09:23:39 +0000 (14:53 +0530)]
print topology instead of just the stream info

11 years agoxml: Fix typo in bitrate field
Arun Raghavan [Thu, 22 Jul 2010 08:47:43 +0000 (09:47 +0100)]
xml: Fix typo in bitrate field

Thanks to "tresvecesseis" on gitorious for pointing this out.

11 years agoxml: Fix typos in AVC_MP4_BL_L3* profiles
Arun Raghavan [Tue, 20 Jul 2010 16:02:23 +0000 (17:02 +0100)]
xml: Fix typos in AVC_MP4_BL_L3* profiles

11 years agoxml: Fix framerate in MPEG4_P2_MP4_SP_VGA_AAC profile
Arun Raghavan [Mon, 19 Jul 2010 18:08:16 +0000 (19:08 +0100)]
xml: Fix framerate in MPEG4_P2_MP4_SP_VGA_AAC profile

Seems I'd missed the framerate constriant while adding this profile.

11 years agoxml: Add bitrate constraint for AVC_MP4_L3L_SD_AAC
Arun Raghavan [Mon, 19 Jul 2010 16:07:16 +0000 (17:07 +0100)]
xml: Add bitrate constraint for AVC_MP4_L3L_SD_AAC

11 years agodocs: Fix some warnings
Arun Raghavan [Fri, 16 Jul 2010 14:37:30 +0000 (20:07 +0530)]
docs: Fix some warnings

Introduce some slightly redundant documentation to get rid of gtk-doc
warnings.

11 years agolibgupnp-dlna: Replace redundant calls with macros
Arun Raghavan [Fri, 16 Jul 2010 14:35:54 +0000 (20:05 +0530)]
libgupnp-dlna: Replace redundant calls with macros

The gupnp_dlna_discoverer_{start,stop} functions were just wrappers
arround the corresponding gst_discoverer* APIs, so we define them as
macros instead.

11 years agoxml: Use bitrate instead of maximum-bitrate
Arun Raghavan [Fri, 16 Jul 2010 14:21:19 +0000 (19:51 +0530)]
xml: Use bitrate instead of maximum-bitrate

Moving all the fields where we use maximum-bitrate to just use the
bitrate for the sake of consistency. At some point in the future we will
need to introduce code to intelligently use  whichever of these tags is
present in the stream.

11 years agoxml: Include common.xml in mpeg-ts.xml
Arun Raghavan [Mon, 19 Jul 2010 14:47:05 +0000 (15:47 +0100)]
xml: Include common.xml in mpeg-ts.xml

We're using restrictions from common.xml but I forgot to include it.

11 years agoRelease 0.2.1 gupnp-dlna-0.2.1
Arun Raghavan [Wed, 14 Jul 2010 13:51:45 +0000 (19:21 +0530)]
Release 0.2.1

11 years agobuild: Correct gst-plugins-base dependency
Arun Raghavan [Thu, 15 Jul 2010 15:26:12 +0000 (20:56 +0530)]
build: Correct gst-plugins-base dependency

We don't (yet) need the latest gst-plugins-base

11 years agobuild: Update gstreamer dependency
Arun Raghavan [Thu, 8 Jul 2010 15:44:43 +0000 (21:14 +0530)]
build: Update gstreamer dependency

The newly imported gst-convenience will depend on gstreamer-0.10.30

11 years agoRelease 0.2 gupnp-dlna-0.2 gupnp-dlna-0.2.0
Arun Raghavan [Wed, 7 Jul 2010 09:51:33 +0000 (15:21 +0530)]
Release 0.2

11 years agolibgupnp-dlna: Remove debug print
Arun Raghavan [Wed, 7 Jul 2010 08:29:31 +0000 (13:59 +0530)]
libgupnp-dlna: Remove debug print

This message was used for debugging and testing.

11 years agogst-convenience: Rebase in-tree version
Arun Raghavan [Wed, 7 Jul 2010 08:27:33 +0000 (13:57 +0530)]
gst-convenience: Rebase in-tree version

Sync our copy of gst-convenience against upstream (upstream commit
fab830b7692200a808655deb4aeb0afa3be4e7b1). Also includes one
to-be-merged patch to fix a crash while marshalling.

11 years agoxml: Don't require empty name/mime for profiles
Arun Raghavan [Fri, 2 Jul 2010 08:19:31 +0000 (13:49 +0530)]
xml: Don't require empty name/mime for profiles

When creating a <dlna-profile> for the sole purpose of being used for
inheritance, we required the name and mime to be set as empty strings.
This makes this unncessary in the XML (the implementation is not
changed, but this is now handled transparently).

11 years agoxml: Add AVC_MP4_BL_CIF15_AAC profile support
Arun Raghavan [Thu, 1 Jul 2010 07:45:07 +0000 (13:15 +0530)]
xml: Add AVC_MP4_BL_CIF15_AAC profile support

11 years agoxml: Add the AVC_MP4_BL_L3(L)_SD_AAC profiles
Arun Raghavan [Wed, 30 Jun 2010 12:41:34 +0000 (18:11 +0530)]
xml: Add the AVC_MP4_BL_L3(L)_SD_AAC profiles

11 years agotools: Add utility for printing discovered info
Parthasarathi Susarla [Mon, 5 Jul 2010 07:53:06 +0000 (13:23 +0530)]
tools: Add utility for printing discovered info

11 years agodoc: Add a TODO
Arun Raghavan [Wed, 30 Jun 2010 13:07:22 +0000 (18:37 +0530)]
doc: Add a TODO

Currently a brain dump of the things that I remember need doing.

11 years agoxml: Use bitrate in constraints for AVC*
Arun Raghavan [Wed, 30 Jun 2010 09:55:50 +0000 (15:25 +0530)]
xml: Use bitrate in constraints for AVC*

This is more likely to be set than maximum-bitrate. Also, the range
starts from 1 instead of 0, to ensure that it is actually known.

11 years agolibgupnp-dlna: only free format caps if present
Arun Raghavan [Tue, 29 Jun 2010 17:37:34 +0000 (23:07 +0530)]
libgupnp-dlna: only free format caps if present

This gets rid of a GStreamer warning in certain cases when we try to
free NULL caps.

11 years agolibgupnp-dlna: Detect duplicates in <include>
Arun Raghavan [Tue, 29 Jun 2010 14:25:09 +0000 (19:55 +0530)]
libgupnp-dlna: Detect duplicates in <include>

Currently, if we include one of the XML files in the profiles directory
from another XML file, the former will get parsed twice (once while
walking the directory, and once again when being included), resulting in
the same set profiles being added to the profile list twice.

This adds some (not fool-proof, but good enough) duplicate detection, so
that we can include one XML file in another. This is particularly useful
for reusing audio profile restrictions in video profiles.

11 years agoxml: Fix MPEG_TS_*_NA profile names
Arun Raghavan [Tue, 29 Jun 2010 06:00:47 +0000 (11:30 +0530)]
xml: Fix MPEG_TS_*_NA profile names

Re-reading the spec, it appears that if the packets are not 192 bytes
long (188 byte payload + 4 byte timestamp), the profile must be suffixed
with an _ISO.

11 years agoxml: Add more common SD resolutions to common.xml
Arun Raghavan [Mon, 28 Jun 2010 21:33:12 +0000 (03:03 +0530)]
xml: Add more common SD resolutions to common.xml

Also makes MPEG_TS* use these factored-out restrictions.

11 years agoxml: Fix typo in AVC_BL profile
Arun Raghavan [Mon, 28 Jun 2010 14:00:13 +0000 (19:30 +0530)]
xml: Fix typo in AVC_BL profile

11 years agoxml: Fix MP4 container usage
Arun Raghavan [Thu, 24 Jun 2010 17:33:02 +0000 (23:03 +0530)]
xml: Fix MP4 container usage

Recent fixes in GStreamer make MP4 containers behave properly. All ISO
variant MP4 containers show up as "video/quicktime, variant=iso",
instead of some of them showing up as "audio/x-m4a". To ensure
correctness further, we do not support non-ISO variants (such as Apple's
QuickTime).

When we have smart transcoding, this will be taken care of
automatically, since encodebin will be able to transmux to MP4.

11 years agolibgupnp-dlna: Fix crash on invalid parent
Arun Raghavan [Tue, 29 Jun 2010 06:18:42 +0000 (11:48 +0530)]
libgupnp-dlna: Fix crash on invalid parent

11 years agolibgupnp-dlna: Fix copy-paste-o in property init
Arun Raghavan [Tue, 29 Jun 2010 10:18:06 +0000 (15:48 +0530)]
libgupnp-dlna: Fix copy-paste-o in property init

Absolutely no cookies for me.

11 years agotests: Add a transcoding exmple
Arun Raghavan [Mon, 21 Jun 2010 09:10:06 +0000 (14:40 +0530)]
tests: Add a transcoding exmple

This takes an input file and transcodes to a given DLNA profile

11 years agoprofiles: API to get encoding profile from name
Arun Raghavan [Mon, 21 Jun 2010 08:03:17 +0000 (13:33 +0530)]
profiles: API to get encoding profile from name

This adds a simple API to get a GstEncodingProfile given a DLNA profile
name. This should make automatic transcoding easier for clients.

11 years agoxml: Support ID3 in MP3 profiles gupnp-dlna-0.1 gupnp-dlna-0.1.0
Arun Raghavan [Mon, 21 Jun 2010 09:36:25 +0000 (15:06 +0530)]
xml: Support ID3 in MP3 profiles

This also makes encoding work, since a container needs to be provided
for encoding.

11 years agobuild: Get rid of gst-convenience warning
Arun Raghavan [Thu, 24 Jun 2010 12:46:57 +0000 (18:16 +0530)]
build: Get rid of gst-convenience warning

Suppress the unstable API warning so we don't miss other warnings.

11 years agotests: Move XML test cases
Arun Raghavan [Thu, 24 Jun 2010 12:42:46 +0000 (18:12 +0530)]
tests: Move XML test cases

Undo unnecessary nesting now that this is a spearate package.

11 years agodoc: Build documentation using gtk-doc
Arun Raghavan [Thu, 24 Jun 2010 12:41:04 +0000 (18:11 +0530)]
doc: Build documentation using gtk-doc

11 years agolibgupnp-dlna: Update GUPnPDLNADiscoverer documentation
Arun Raghavan [Thu, 24 Jun 2010 12:30:09 +0000 (18:00 +0530)]
libgupnp-dlna: Update GUPnPDLNADiscoverer documentation

This adds documentation for the undocumented parts of the
GUPnPDLNADiscoverer API and updates other bits.