[DVDnav-discuss] r1109 - trunk/libdvdnav/src/dvdnav.c

nicodvb subversion at mplayerhq.hu
Sun Jun 29 14:58:09 CEST 2008


Author: nicodvb
Date: Sun Jun 29 14:58:08 2008
New Revision: 1109

Log:
after an AUDIO change event assign the logical stream to the returned event,
that for some reason was being ignored. The physical stream is still wrong


Modified:
   trunk/libdvdnav/src/dvdnav.c

Modified: trunk/libdvdnav/src/dvdnav.c
==============================================================================
--- trunk/libdvdnav/src/dvdnav.c	(original)
+++ trunk/libdvdnav/src/dvdnav.c	Sun Jun 29 14:58:08 2008
@@ -699,6 +699,7 @@ dvdnav_status_t dvdnav_get_next_cache_bl
 #endif
     (*len) = sizeof(dvdnav_audio_stream_change_event_t);
     stream_change->physical = vm_get_audio_active_stream( this->vm );
+    stream_change->logical = this->position_next.audio_channel;
     this->position_current.audio_channel = this->position_next.audio_channel;
 #ifdef LOG_DEBUG
     fprintf(MSG_OUT, "libdvdnav: AUDIO_STREAM_CHANGE stream_id=%d returning DVDNAV_STATUS_OK\n",stream_change->physical);



More information about the DVDnav-discuss mailing list