gupnp:gupnp-dlna.git
11 years agoNo doc for gupnp_dlna_profile_new()
Parthasarathi Susarla [Mon, 7 Feb 2011 14:37:13 +0000 (01:37 +1100)]
No doc for gupnp_dlna_profile_new()

gupnp_dlna_profile_new() is no more a public api. It is internal now, so
it isn't documented anymore.

11 years agoHilight test failure
Parthasarathi Susarla [Mon, 7 Feb 2011 14:30:42 +0000 (01:30 +1100)]
Hilight test failure

Make the failure of the tests more obvious. Failure messages now appear
in red.

11 years agoRefactor gupnp_dlna_profile_get_encoding_profile
Parthasarathi Susarla [Mon, 7 Feb 2011 14:26:00 +0000 (01:26 +1100)]
Refactor gupnp_dlna_profile_get_encoding_profile

This patch results in a cleaner and a more concise implementation of the
gupnp_dlna_profile_get_encoding_profile () api in gupnp-dlna-profile.c

11 years agoRemove redundant initializations
Zeeshan Ali (Khattak) [Tue, 8 Feb 2011 15:58:29 +0000 (17:58 +0200)]
Remove redundant initializations

The private structures are zero'ed out for us so there is no need to
explicitly unset individual fields.

11 years agoFree caps in GUPnPDLNAProfilePriv
Parthasarathi Susarla [Mon, 7 Feb 2011 11:21:08 +0000 (22:21 +1100)]
Free caps in GUPnPDLNAProfilePriv

This patch frees the container/video/audio caps in GUPnPDLNAProfilePriv

11 years agoMore gtk-doc cleanups
Parthasarathi Susarla [Sat, 5 Feb 2011 02:05:35 +0000 (13:05 +1100)]
More gtk-doc cleanups

Removes several warnings about missing documenation.

11 years agoCheck for empty caps after merge
Zeeshan Ali (Khattak) [Tue, 8 Feb 2011 15:44:21 +0000 (17:44 +0200)]
Check for empty caps after merge

11 years agoUse container caps when inheriting from base profile
Zeeshan Ali (Khattak) [Tue, 8 Feb 2011 15:43:47 +0000 (17:43 +0200)]
Use container caps when inheriting from base profile

Use the container caps from the base profile (if it exists). This will be
the format(caps) of a GstEncondingContainerProfile.

11 years agoFix profile parsing logic for images
Parthasarathi Susarla [Fri, 4 Feb 2011 09:16:17 +0000 (20:16 +1100)]
Fix profile parsing logic for images

11 years agoRemove format I420 field from XML
Parthasarathi Susarla [Fri, 4 Feb 2011 05:11:34 +0000 (16:11 +1100)]
Remove format I420 field from XML

Gstreamer currently doesn't export the format field so dropping the field
for now.

11 years agoAdded documentation to test-discoverer
Luis de Bethencourt [Thu, 3 Feb 2011 16:56:02 +0000 (17:56 +0100)]
Added documentation to test-discoverer

Added some documentation to test-discoverer.sh.in so it
is obvious where the test media folder should be.

11 years agoGet rid of nasty warnings when building docs
Luis de Bethencourt [Thu, 3 Feb 2011 12:42:44 +0000 (13:42 +0100)]
Get rid of nasty warnings when building docs

Added a SCANGOBJ_OPTIONS in the Makefile.am so gst_init is
executed before using gstreamer in the gupnp-dlna-scan.

11 years agoOnly initialize thread system once
Luis de Bethencourt [Thu, 3 Feb 2011 12:41:27 +0000 (13:41 +0100)]
Only initialize thread system once

Added a check to see if g_threads are supported before initializing
g_threads.

11 years agoClear the ChangeLog file 3
Luis de Bethencourt [Wed, 2 Feb 2011 11:39:17 +0000 (12:39 +0100)]
Clear the ChangeLog file

The ChangeLog was obsolete and since it's use has been replaced
by git log, an empty ChangeLog file is kept to satisfy autools.

11 years agolibgupnp-dlna/gupnp-dlna-load.c: removing unused variable.
Luis de Bethencourt [Mon, 31 Jan 2011 15:58:44 +0000 (16:58 +0100)]
libgupnp-dlna/gupnp-dlna-load.c: removing unused variable.

11 years agoRelease 0.5.1 gupnp-dlna-0.5.1
Zeeshan Ali (Khattak) [Fri, 21 Jan 2011 21:16:35 +0000 (23:16 +0200)]
Release 0.5.1

11 years agobuild: Require pbutils >= 0.10.32
Zeeshan Ali (Khattak) [Fri, 21 Jan 2011 18:51:24 +0000 (20:51 +0200)]
build: Require pbutils >= 0.10.32

11 years agolibgupnp-dlna: Drop internalize gst-convenience
Parthasarathi Susarla [Wed, 19 Jan 2011 08:38:38 +0000 (14:08 +0530)]
libgupnp-dlna: Drop internalize gst-convenience

With gupnp-dlna now using encoding-profile from base, we get rid of the
internal copy of gst-convenience.

tools/tests: Plug memory leak unref the encoding_profile after calling
gupnp_dlna_get_encoding_profile(). 100 points goes to Partha for putting
this unrelated change here.

11 years agolibgupnp-dlna: Add encoding_profile prop to GUPnPDLNAProfile
Parthasarathi Susarla [Wed, 19 Jan 2011 06:33:40 +0000 (12:03 +0530)]
libgupnp-dlna: Add encoding_profile prop to GUPnPDLNAProfile

Add "encoding_profile" property to GUPnPDLNAProfile. This makes for nicer
code in bindings.

11 years agolibgupnp-dlna: Use encoding-profile from plugins-base
Parthasarathi Susarla [Thu, 6 Jan 2011 12:42:13 +0000 (18:12 +0530)]
libgupnp-dlna: Use encoding-profile from plugins-base

- Give up on the local copy of gstprofile (from gst-convenience) and use
  the encoding-profile api from gst-plugins-base.

- Stop using GstEncodingProfile for in memory representation of the on
  disk XML profiles but rather create GstEncodingProfile on the fly.

- We now use a single GstCaps variable each for audio/video and container
  instead of a GList and merge them as they are processed from the XML file.

11 years agolibgupnp-dlna: discover_uri_* don't take ownership of the uri
Arun Raghavan [Tue, 18 Jan 2011 13:15:20 +0000 (18:45 +0530)]
libgupnp-dlna: discover_uri_* don't take ownership of the uri

This marks the 'uri' argument as a const since we don't take ownership
of the string (GstDiscoverer makes a copy).

11 years agobuild: Explicitly link pbutils
Arun Raghavan [Tue, 11 Jan 2011 07:36:29 +0000 (13:06 +0530)]
build: Explicitly link pbutils

This is required by gupnp-dlna-info. Thanks to Peter Robinson for
pointing this out.

11 years agodoc: fix typo in NEWS gupnp-dlna-0.5.0
Parthasarathi Susarla [Fri, 7 Jan 2011 15:37:10 +0000 (21:07 +0530)]
doc: fix typo in NEWS

11 years agodoc: Update NEWS for 0.5.0
Parthasarathi Susarla [Fri, 7 Jan 2011 14:46:39 +0000 (20:16 +0530)]
doc: Update NEWS for 0.5.0

11 years agobuild: Bump version to 0.5.0
Parthasarathi Susarla [Fri, 7 Jan 2011 14:44:06 +0000 (20:14 +0530)]
build: Bump version to 0.5.0

11 years agobuild: bump so version to 2 (GUPNP_DLNA_CURRENT)
Parthasarathi Susarla [Fri, 7 Jan 2011 14:42:57 +0000 (20:12 +0530)]
build: bump so version to 2 (GUPNP_DLNA_CURRENT)

11 years agobuild: Bump pbutils dep to 0.10.31
Zeeshan Ali (Khattak) [Fri, 7 Jan 2011 14:07:19 +0000 (16:07 +0200)]
build: Bump pbutils dep to 0.10.31

11 years agolibgupnp-dlna: fix coding style issues
Parthasarathi Susarla [Wed, 5 Jan 2011 16:56:25 +0000 (22:26 +0530)]
libgupnp-dlna: fix coding style issues

11 years agolibgupnp-dlna: use g_new0 instead of g_new
Parthasarathi Susarla [Thu, 9 Dec 2010 10:50:49 +0000 (16:20 +0530)]
libgupnp-dlna: use g_new0 instead of g_new

11 years agolibgupnp-dlna: bug fix in gupnp-dlna-load.c
Parthasarathi Susarla [Mon, 6 Dec 2010 18:18:50 +0000 (23:48 +0530)]
libgupnp-dlna: bug fix in gupnp-dlna-load.c

add missing brances in process_parent(), fix
parsing issue.

11 years agolibgupnp-dlna: Coding style fixes
Arun Raghavan [Tue, 30 Nov 2010 08:17:51 +0000 (13:47 +0530)]
libgupnp-dlna: Coding style fixes

11 years agotests: Add libxml cflags/libs for compilation
Arun Raghavan [Wed, 24 Nov 2010 11:34:31 +0000 (17:04 +0530)]
tests: Add libxml cflags/libs for compilation

These are just required for xmlFree()

11 years agolibgupnp-dlna: Plug a leak at XML load time
Arun Raghavan [Tue, 9 Nov 2010 18:19:17 +0000 (23:49 +0530)]
libgupnp-dlna: Plug a leak at XML load time

11 years agolibgupnp-dlna: changes in function signatures.
Parthasarathi Susarla [Tue, 9 Nov 2010 06:15:30 +0000 (11:45 +0530)]
libgupnp-dlna: changes in function signatures.

This changes the function signatures of processing
functions in gupnp-dlna-load.c, which now take the
GUPnPDLNALoadState as an argument.

11 years agobuild: bump so version to 1 (GUPNP_DLNA_CURRENT)
Parthasarathi Susarla [Mon, 8 Nov 2010 17:25:14 +0000 (22:55 +0530)]
build: bump so version to 1 (GUPNP_DLNA_CURRENT)

11 years agogst-convenience: Remove gstreamer-discoverer-gupnp-dlna-0.10.deps and do not
Parthasarathi Susarla [Mon, 8 Nov 2010 13:03:07 +0000 (18:33 +0530)]
gst-convenience: Remove gstreamer-discoverer-gupnp-dlna-0.10.deps and do not
include it in make dist as a part of the move to GstDiscoverer from
gst-plugins-base.

11 years agogst-convenience: remove the internal copy of discoverer now that gupnp-dlna
Parthasarathi Susarla [Mon, 8 Nov 2010 12:48:39 +0000 (18:18 +0530)]
gst-convenience: remove the internal copy of discoverer now that gupnp-dlna
uses GstDiscoverer from gst-plugins-base

Also remove the gstreamer-discoverer-gupnp-dlna-0.10.vapi as a part of the
move to GstDiscoverer from gst-plugins-base

11 years agobuild: Fix the issue with make distcheck by removing dependency
Parthasarathi Susarla [Mon, 8 Nov 2010 12:26:59 +0000 (17:56 +0530)]
build: Fix the issue with make distcheck by removing dependency
on internal copy of discoverer

11 years agodoc: remove dependence on the internal copy of discoverer
Parthasarathi Susarla [Mon, 8 Nov 2010 12:24:38 +0000 (17:54 +0530)]
doc: remove dependence on the internal copy of discoverer

11 years agolibgupnp-dlna/tools: use GstDiscoverer from base
Parthasarathi Susarla [Mon, 8 Nov 2010 11:20:51 +0000 (16:50 +0530)]
libgupnp-dlna/tools: use GstDiscoverer from base

Use the GstDiscoverer from gst-plugins base instead of the internal
copy. This adds a dependency on gstreamer-pbutils. The tools/ and
tests/ have been updated to use the new discoverer api.

11 years agotests: Add libxml header to dlna-profile-parser
Arun Raghavan [Mon, 25 Oct 2010 10:28:53 +0000 (11:28 +0100)]
tests: Add libxml header to dlna-profile-parser

This header is required for xmlFree(). The problem wasn't caught thus
far because in most cases, this gets included in some GStreamer header.

11 years agotools: Include stdio.h in gupnp-dlna-info.c
Arun Raghavan [Mon, 25 Oct 2010 09:50:27 +0000 (10:50 +0100)]
tools: Include stdio.h in gupnp-dlna-info.c

We need it for fprintf(), but somehow this didn't turn up as a warning
on any of our systems.

11 years agodoc: Update NEWS for 0.4.2 gupnp-dlna-0.4.2
Arun Raghavan [Thu, 14 Oct 2010 14:36:41 +0000 (20:06 +0530)]
doc: Update NEWS for 0.4.2

11 years agobuild: Bump version to 0.4.2
Arun Raghavan [Thu, 14 Oct 2010 14:25:34 +0000 (19:55 +0530)]
build: Bump version to 0.4.2

11 years agotests: Skip tests if media is missing
Arun Raghavan [Thu, 14 Oct 2010 17:38:59 +0000 (23:08 +0530)]
tests: Skip tests if media is missing

11 years agogst-convenience: Undo discoverer namespace changes
Arun Raghavan [Thu, 14 Oct 2010 14:24:16 +0000 (19:54 +0530)]
gst-convenience: Undo discoverer namespace changes

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.