~ubuntu-branches/ubuntu/precise/gst-plugins-bad0.10/precise-proposed

« back to all changes in this revision

Viewing changes to ext/resindvd/resindvdsrc.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2009-05-12 09:51:24 UTC
  • mto: (18.3.2 experimental) (1.3.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 31.
  • Revision ID: james.westby@ubuntu.com-20090512095124-ugy051q0n88kk9f8
Tags: upstream-0.10.11.2
Import upstream version 0.10.11.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
#include "_stdint.h"
27
27
 
28
 
#ifndef DVDNAV_OLD
29
 
 
30
28
#include <dvdnav/dvdnav.h>
31
29
#include <dvdread/ifo_read.h>
32
30
#include <dvdread/nav_read.h>
33
31
 
34
 
#else
35
 
 
36
 
#include <dvdnav/dvd_reader.h>
37
 
#include <dvdnav/ifo_read.h>
38
 
 
39
 
#include <dvdnav/dvdnav.h>
40
 
#include <dvdnav/nav_read.h>
41
 
 
42
 
#endif
43
 
 
44
32
G_BEGIN_DECLS
45
33
 
46
34
#define RESIN_TYPE_DVDSRC (rsn_dvdsrc_get_type())
60
48
{
61
49
  RsnPushSrc parent;
62
50
 
 
51
  gboolean      faststart;
 
52
 
63
53
  GMutex        *dvd_lock;
64
54
  GCond         *still_cond;
65
55
  GMutex        *branch_lock;
68
58
  gchar         *device;
69
59
  dvdnav_t      *dvdnav;
70
60
 
 
61
  const char    *disc_name;
 
62
 
71
63
  /* dvd_reader instance is used to load and cache VTS/VMG ifo info */
72
64
  dvd_reader_t  *dvdread;
73
65
 
82
74
  /* Current playback location: VTS 0 = VMG, plus in_menu or not */
83
75
  gint          vts_n;
84
76
  gboolean      in_menu;
 
77
  gint          title_n; /* Title num */
 
78
  gint          part_n; /* Part num */
 
79
  gint          n_angles; /* number of angles */
 
80
  gint          cur_angle; /* current angle */
85
81
 
86
82
  gboolean      running;
87
83
  gboolean      discont;
92
88
  gboolean      in_still_state;
93
89
  gboolean      in_playing;
94
90
 
 
91
  gboolean      was_mouse_over;
 
92
 
 
93
  /* Remaining time to wait in a timed still: */
 
94
  GstClockTime  still_time_remaining;
 
95
 
95
96
  GstBuffer     *alloc_buf;
96
97
  GstBuffer     *next_buf;
97
98
  /* TRUE if the next_buf is a nav block that needs enqueueing */
122
123
  GstEvent      *audio_select_event;
123
124
  GstEvent      *highlight_event;
124
125
 
 
126
  gboolean      angles_changed;
 
127
  gboolean      commands_changed;
 
128
 
125
129
  /* GList of NAV packets awaiting activation, and the
126
130
   * running times to activate them. */
127
131
  GSList *pending_nav_blocks;