summaryrefslogtreecommitdiff
path: root/src/xine-engine/video_decoder.c
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2001-09-12 22:18:47 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2001-09-12 22:18:47 +0000
commit7d6fb6c905dbd842eead370f2412a55eda31cecb (patch)
tree45d81b00889662bf46f3ce4c15f1b898566f1b9f /src/xine-engine/video_decoder.c
parent436000020930b0ce16be4a34fae8ff5df28450a5 (diff)
downloadxine-lib-7d6fb6c905dbd842eead370f2412a55eda31cecb.tar.gz
xine-lib-7d6fb6c905dbd842eead370f2412a55eda31cecb.tar.bz2
further tweaks and patches for menu support: new buftypes (BUF_CONTROL_DISCONTINUITY,BUF_CONTROL_NOP,BUF_CONTROL_AUDIO_CHANNEL,BUF_CONTROL_SPU_CHANNEL) so input plugins can enhance their communication with the xine engine (regarding pts continuities for example) - not all is implemented yet, but what is implemented is working pretty well - at least for me ;))
CVS patchset: 627 CVS date: 2001/09/12 22:18:47
Diffstat (limited to 'src/xine-engine/video_decoder.c')
-rw-r--r--src/xine-engine/video_decoder.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/xine-engine/video_decoder.c b/src/xine-engine/video_decoder.c
index ab86afa0b..d88f1656c 100644
--- a/src/xine-engine/video_decoder.c
+++ b/src/xine-engine/video_decoder.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_decoder.c,v 1.49 2001/09/11 09:03:51 jkeil Exp $
+ * $Id: video_decoder.c,v 1.50 2001/09/12 22:18:47 guenter Exp $
*
*/
@@ -91,7 +91,7 @@ void *video_decoder_loop (void *this_gen) {
pthread_mutex_lock (&this->xine_lock);
this->video_finished = 0;
this->spu_finished = 0;
-/* FIXME: I don't think we need spu_track_map. */
+ /* FIXME: I don't think we need spu_track_map. */
for (i=0 ; i<50; i++)
this->spu_track_map[0] = 0;
@@ -172,6 +172,13 @@ void *video_decoder_loop (void *this_gen) {
running = 0;
break;
+ case BUF_CONTROL_DISCONTINUITY:
+ this->metronom->expect_video_discontinuity (this->metronom);
+ break;
+
+ case BUF_CONTROL_NOP:
+ break;
+
default:
profiler_start_count (prof_video_decode);