~ubuntu-branches/ubuntu/raring/rygel/raring

« back to all changes in this revision

Viewing changes to src/librygel-server/rygel-video-item.vala

  • Committer: Package Import Robot
  • Author(s): Andreas Henriksson
  • Date: 2012-09-26 22:34:15 UTC
  • mfrom: (1.3.2)
  • mto: (14.1.10 sid)
  • mto: This revision was merged to the branch mainline in revision 27.
  • Revision ID: package-import@ubuntu.com-20120926223415-mem27auv86jjrj9k
ImportedĀ UpstreamĀ versionĀ 0.16.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 * Copyright (C) 2008 Zeeshan Ali <zeenix@gmail.com>.
3
3
 * Copyright (C) 2010 Nokia Corporation.
 
4
 * Copyright (C) 2012 Intel Corporation.
4
5
 *
5
6
 * Author: Zeeshan Ali (Khattak) <zeeshanak@gnome.org>
6
7
 *                               <zeeshan.ali@nokia.com>
34
35
 
35
36
    public string author;
36
37
 
 
38
    //TODO: This property documentation is not used.
 
39
    //See valadoc bug: https://bugzilla.gnome.org/show_bug.cgi?id=684367
 
40
 
 
41
    /**
 
42
     * The width of the item in pixels.
 
43
     * A value of -1 means that the width is unknown and will not, or did not, appear in DIDL-Lite XML.
 
44
     */
37
45
    public int width { get; set; default = -1; }
 
46
 
 
47
    /**
 
48
     * The height of the item in pixels.
 
49
     * A value of -1 means that the height is unknown and will not, or did not, appear in DIDL-Lite XML.
 
50
     */
38
51
    public int height { get; set; default = -1; }
39
52
    public int pixel_width { get; set; default = -1; }
40
53
    public int pixel_height { get; set; default = -1; }
 
54
 
 
55
    /**
 
56
     * The number of bits per pixel used to represent the video resource.
 
57
     * A value of -1 means that the color depth is unknown and will not, or did not, appear in DIDL-Lite XML.
 
58
     */
41
59
    public int color_depth { get; set; default = -1; }
42
60
 
43
61
    public ArrayList<Thumbnail> thumbnails { get; protected set; }