~ubuntu-branches/ubuntu/quantal/gst-plugins-bad-multiverse0.10/quantal

« back to all changes in this revision

Viewing changes to gst/dvdspu/gstdvdspu.c

  • Committer: Bazaar Package Importer
  • Author(s): Onkar Shinde
  • Date: 2009-12-07 08:54:28 UTC
  • mfrom: (1.1.15 upstream)
  • Revision ID: james.westby@ubuntu.com-20091207085428-ml6aaukf0p2ph34d
Tags: 0.10.17-0ubuntu1
* New upstream release.
* Add myself to maintainer.
* Fix misc lintian warnings.

Show diffs side-by-side

added added

removed removed

Lines of Context:
117
117
{
118
118
  static GstElementDetails element_details =
119
119
      GST_ELEMENT_DETAILS ("GStreamer Sub-picture Overlay",
120
 
      "Mixer/Video/Overlay/DVD/Bluray",
 
120
      "Mixer/Video/Overlay/SubPicture/DVD/Bluray",
121
121
      "Parses Sub-Picture command streams and renders the SPU overlay "
122
122
      "onto the video as it passes through",
123
123
      "Jan Schmidt <thaytan@noraisin.net>");
716
716
static void
717
717
gst_dvd_spu_handle_dvd_event (GstDVDSpu * dvdspu, GstEvent * event)
718
718
{
719
 
  const GstStructure *structure = gst_event_get_structure (event);
720
 
  const gchar *event_type = gst_structure_get_string (structure, "event");
721
719
  gboolean hl_change = FALSE;
722
720
 
723
721
  GST_INFO_OBJECT (dvdspu, "DVD event of type %s on subp pad OOB=%d",
724
 
      event_type, (GST_EVENT_TYPE (event) == GST_EVENT_CUSTOM_DOWNSTREAM_OOB));
 
722
      gst_structure_get_string (event->structure, "event"),
 
723
      (GST_EVENT_TYPE (event) == GST_EVENT_CUSTOM_DOWNSTREAM_OOB));
725
724
 
726
725
  switch (dvdspu->spu_input_type) {
727
726
    case SPU_INPUT_TYPE_VOBSUB:
1200
1199
      0, "Sub-picture Overlay decoder/renderer");
1201
1200
 
1202
1201
  return gst_element_register (plugin, "dvdspu",
1203
 
      GST_RANK_NONE, GST_TYPE_DVD_SPU);
 
1202
      GST_RANK_PRIMARY, GST_TYPE_DVD_SPU);
1204
1203
}
1205
1204
 
1206
1205
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,