summaryrefslogtreecommitdiff
path: root/libgupnp-dlna/gupnp-dlna-profile-private.h
blob: e54e40640917a2238a3ef90781aee5c645e3182d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*
 * Copyright (C) 2011 Nokia Corporation.
 *
 * Authors: Parthasarathi Susarla <partha.susarla@collabora.co.uk>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the
 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 * Boston, MA 02110-1301, USA.
 */
#ifndef __GUPNP_DLNA_PROFILE_PRIVATE_H__
#define __GUPNP_DLNA_PROFILE_PRIVATE_H__

G_BEGIN_DECLS

GUPnPDLNAProfile * gupnp_dlna_profile_new (gchar     *name,
                                           gchar     *mime,
                                           GstCaps   *container_caps,
                                           GstCaps   *video_caps,
                                           GstCaps   *audio_caps,
                                           gboolean  extended);


const GstCaps * gupnp_dlna_profile_get_container_caps (GUPnPDLNAProfile *self);
const GstCaps * gupnp_dlna_profile_get_video_caps (GUPnPDLNAProfile *self);
const GstCaps * gupnp_dlna_profile_get_audio_caps (GUPnPDLNAProfile *self);

void gupnp_dlna_profile_set_container_caps (GUPnPDLNAProfile *self, GstCaps *caps);
void gupnp_dlna_profile_set_video_caps (GUPnPDLNAProfile *self, GstCaps *caps);
void gupnp_dlna_profile_set_audio_caps (GUPnPDLNAProfile *self, GstCaps *caps);

G_END_DECLS

#endif /* __GUPNP_DLNA_PROFILE_PRIVATE_H__ */