-bool dvd_command_interpretor_c::MatchIsDomain( const chapter_codec_cmds_c &data, const void *p_cookie, size_t i_cookie_size )
+bool dvd_command_interpretor_c::MatchIsDomain( const chapter_codec_cmds_c &data, const void *, size_t )
{
return ( data.p_private_data != NULL && data.p_private_data->GetBuffer()[0] == MATROSKA_DVD_LEVEL_SS );
}
-bool dvd_command_interpretor_c::MatchIsVMG( const chapter_codec_cmds_c &data, const void *p_cookie, size_t i_cookie_size )
+bool dvd_command_interpretor_c::MatchIsVMG( const chapter_codec_cmds_c &data, const void *, size_t )
{
if ( data.p_private_data == NULL || data.p_private_data->GetSize() < 2 )
return false;
/// \return wether the codec has seeked in the files or not
virtual bool Enter() { return false; }
virtual bool Leave() { return false; }
- virtual std::string GetCodecName( bool f_for_title = false ) const { return ""; }
+ virtual std::string GetCodecName( bool ) const { return ""; }
virtual int16 GetTitleNumber() { return -1; }
KaxChapterProcessPrivate *p_private_data;
int event_thread_t::EventMouse( vlc_object_t *p_this, char const *psz_var,
vlc_value_t oldval, vlc_value_t newval, void *p_data )
{
+ VLC_UNUSED( oldval ); VLC_UNUSED( newval );
event_thread_t *p_ev = (event_thread_t *) p_data;
vlc_mutex_lock( &p_ev->lock );
if( psz_var[6] == 'c' )
int event_thread_t::EventInput( vlc_object_t *p_this, char const *,
vlc_value_t, vlc_value_t newval, void *p_data )
{
+ VLC_UNUSED( p_this );
event_thread_t *p_ev = (event_thread_t *) p_data;
vlc_mutex_lock( &p_ev->lock );
if( newval.i_int == INPUT_EVENT_VOUT )
return VLC_SUCCESS;
}
-
void event_thread_t::EventThread()
{
demux_sys_t *p_sys = p_demux->p_sys;
break;
}
- bool b_activated = false;
-
/* KEY part */
if( i_key_action )
{
}
break;
case ACTIONID_NAV_ACTIVATE:
- b_activated = true;
-
if ( i_curr_button > 0 && i_curr_button <= pci->hli.hl_gi.btn_ns )
{
btni_t button_ptr = pci->hli.btnit[i_curr_button-1];
msg_Dbg( p_demux, "Handle Mouse Event: Mouse clicked x(%d)*y(%d)", x, y);
- b_activated = true;
// get current button
best = 0;
dist = 0x08000000; /* >> than (720*720)+(567*567); */
vlc_restorecancel (canc);
}
+
void *event_thread_t::EventThread(void *data)
{
static_cast<event_thread_t*>(data)->EventThread();
virtual_segment_c *p_seg;
p_current_segment = VirtualFromSegments( p_segment );
-
+
used_segments.push_back( p_current_segment );
// create all the other virtual segments of the family
vsegment.Seek( demuxer, p_chapter->i_user_start_time, -1, p_chapter, -1 );
}
}
-
+
}
matroska_segment_c *demux_sys_t::FindSegment( const EbmlBinary & uid ) const
p_fmt->audio.i_rate = 8000;
p_fmt->audio.i_blockalign = 0x14;
}
- /* disabled due to the potential "S_KATE" namespace issue */
else if( !strcmp( p_tk->psz_codec, "S_KATE" ) )
{
- int i, i_offset = 1, i_extra, num_headers, size_so_far;
- uint8_t *p_extra;
-
p_tk->fmt.i_codec = VLC_CODEC_KATE;
p_tk->fmt.subs.psz_encoding = strdup( "UTF-8" );
i_display_unit = uint8( vdmode );
msg_Dbg( &sys.demuxer, "| | | | + Track Video Display Unit=%s",
- uint8( vdmode ) == 0 ? "pixels" : ( uint8( vdmode ) == 1 ? "centimeters": "inches" ) );
+ i_display_unit == 0 ? "pixels" : ( i_display_unit == 1 ? "centimeters": "inches" ) );
}
else if( MKV_IS_ID( l, KaxVideoAspectRatio ) ) // UNUSED
{
bool b_enabled;
unsigned int i_number;
- int i_extra_data;
+ unsigned int i_extra_data;
uint8_t *p_extra_data;
char *psz_codec;
return stream_Tell( s );
}
+size_t vlc_stream_io_callback::write(const void *, size_t )
+{
+ return 0;
+}
+
virtual uint32 read ( void *p_buffer, size_t i_size);
virtual void setFilePointer ( int64_t i_offset, seek_mode mode = seek_beginning );
- virtual size_t write ( const void *p_buffer, size_t i_size) { return 0; }
+ virtual size_t write ( const void *p_buffer, size_t i_size);
virtual uint64 getFilePointer ( void );
virtual void close ( void ) { return; }
};