~ubuntu-branches/ubuntu/quantal/rhythmbox/quantal-proposed

« back to all changes in this revision

Viewing changes to backends/rb-encoder.h

  • Committer: Package Import Robot
  • Author(s): Rodney Dawes
  • Date: 2012-03-09 07:24:47 UTC
  • mfrom: (1.1.64)
  • Revision ID: package-import@ubuntu.com-20120309072447-ltf9ea8d9vj5zmiy
Tags: 2.95.5-0ubuntu1
* New upstream release. (LP: #949424)
  - Add support for allowing plug-ins to specify that they should be
    enabled by default. (LP: #934235)
  - Magnatune plug-in is re-enabled upstream.
  - Removal of gtk_dialog_run in most all cases.
  - Porting of more plug-ins to python-gi. 
* debian/control, debian/*.install:
  - Remove the useless coherence plug-in install file.
  - Move some core plug-ins into main rhythmbox package.
    + audiocd, generic-player, iradio, mmkeys, power-manager, rb
  - Split out the NPAPI plug-in to a separate package.
  - Split out the zeitgeist plug-in to a separate package.
  - Split out the magnatune store plug-in to a separate package.
  - Split out the visualizer plug-in to a separate package.
    + Disable building the visualizer plug-in package, as it needs
      libmx which is in universe and not main.
* debian/patches/*:
  - Refreshed patches against new source that had problems applying.
  - Remvoe the mpris name patch which is included upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
        RB_ENCODER_ERROR_INTERNAL,
56
56
        RB_ENCODER_ERROR_FILE_ACCESS,
57
57
        RB_ENCODER_ERROR_OUT_OF_SPACE,
58
 
        RB_ENCODER_ERROR_DEST_READ_ONLY
 
58
        RB_ENCODER_ERROR_DEST_READ_ONLY,
 
59
        RB_ENCODER_ERROR_DEST_EXISTS
59
60
} RBEncoderError;
60
61
 
61
62
GType rb_encoder_error_get_type (void);
76
77
        void            (*encode)       (RBEncoder *encoder,
77
78
                                         RhythmDBEntry *entry,
78
79
                                         const char *dest,
 
80
                                         gboolean overwrite,
79
81
                                         GstEncodingProfile *profile);
80
82
        void            (*cancel)       (RBEncoder *encoder);
81
83
        gboolean        (*get_missing_plugins) (RBEncoder *encoder,
85
87
 
86
88
        /* signals */
87
89
        void (*progress) (RBEncoder *encoder,  double fraction);
88
 
        gboolean (*overwrite) (RBEncoder *encoder, GFile *file);
89
90
        void (*completed) (RBEncoder *encoder, guint64 dest_size, const char *mediatype, GError *error);
90
91
};
91
92
 
113
114
void            rb_encoder_encode       (RBEncoder *encoder,
114
115
                                         RhythmDBEntry *entry,
115
116
                                         const char *dest,
 
117
                                         gboolean overwrite,
116
118
                                         GstEncodingProfile *profile);
117
119
void            rb_encoder_cancel       (RBEncoder *encoder);
118
120
 
124
126
/* only to be used by subclasses */
125
127
void    _rb_encoder_emit_progress (RBEncoder *encoder, double fraction);
126
128
void    _rb_encoder_emit_completed (RBEncoder *encoder, guint64 dest_size, const char *mediatype, GError *error);
127
 
gboolean _rb_encoder_emit_overwrite (RBEncoder *encoder, GFile *file);
128
129
 
129
130
void    _rb_encoder_emit_prepare_source (RBEncoder *encoder, const char *uri, GObject *source);
130
131
void    _rb_encoder_emit_prepare_sink (RBEncoder *encoder, const char *uri, GObject *sink);