Rygel.Transcoder – librygel-server – Vala Binding Reference

Rygel.Transcoder – librygel-server Reference Manual

# Transcoder

## Object Hierarchy:

## Description:

public abstract class Transcoder : `Object`

The base Transcoder class. Each implementation derives from it and must implement get_distance.

Namespace: Rygel
Package: librygel-server

## Content:

### Properties:

- public `string` mime_type { protected set; get; }
- public `string` dlna_profile { protected set; get; }
- public `string` extension { protected set; get; }

### Creation methods:

- public Transcoder ()

### Methods:

- public abstract DataSource create_source (MediaItem item, DataSource src) throws `Error`
  Creates a transcoding source.
- public virtual `DIDLLiteResource`? add_resource (`DIDLLiteItem` didl_item, MediaItem item, TranscodeManager manager) throws `Error`
- public `bool` can_handle (`string` target)
- public abstract `uint` get_distance (MediaItem item)
  Gets the numeric value that gives an gives an estimate of how hard would it be to trancode @item to target profile of this transcoder.
- protected `bool` mime_type_is_a (`string` mime_type1, `string` mime_type2)

### Inherited Members:

All known members inherited from class GLib.Object

- @new
- newv
- new_valist
- get_type
- get_class
- @ref
- unref
- ref_sink
- weak_ref
- weak_unref
- add_weak_pointer
- remove_weak_pointer

- @get
- @set
- get_property
- set_property
- get_data
- set_data
- set_data_full
- steal_data
- get_qdata
- set_qdata
- set_qdata_full
- steal_qdata

- freeze_notify
- thaw_notify
- dispose
- constructed
- notify_property
- connect
- disconnect
- add_toggle_ref
- remove_toggle_ref
- bind_property
- notify
- ref_count