diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-02-21 10:43:54 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-02-21 10:43:54 +0000 |
| commit | df8f80913c8083c2d5d3408da6f8dd67193d890b (patch) | |
| tree | 2879af3a184938421916b0ed3aaedeed1b3fd1f9 /src/wx | |
| parent | cd34ac8e2e5a835b5907a8a67b241e29240eb7b9 (diff) | |
Make FFmpegStream::_id private.
Diffstat (limited to 'src/wx')
| -rw-r--r-- | src/wx/audio_panel.cc | 6 | ||||
| -rw-r--r-- | src/wx/subtitle_panel.cc | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/wx/audio_panel.cc b/src/wx/audio_panel.cc index ba458f1ff..683751264 100644 --- a/src/wx/audio_panel.cc +++ b/src/wx/audio_panel.cc @@ -134,11 +134,11 @@ AudioPanel::film_content_changed (int property) if (fcs) { vector<shared_ptr<FFmpegAudioStream> > a = fcs->audio_streams (); for (vector<shared_ptr<FFmpegAudioStream> >::iterator i = a.begin(); i != a.end(); ++i) { - _stream->Append (std_to_wx ((*i)->name), new wxStringClientData (std_to_wx (lexical_cast<string> ((*i)->id)))); + _stream->Append (std_to_wx ((*i)->name), new wxStringClientData (std_to_wx (lexical_cast<string> ((*i)->id ())))); } if (fcs->audio_stream()) { - checked_set (_stream, lexical_cast<string> (fcs->audio_stream()->id)); + checked_set (_stream, lexical_cast<string> (fcs->audio_stream()->id ())); setup_stream_description (); } } @@ -206,7 +206,7 @@ AudioPanel::stream_changed () vector<shared_ptr<FFmpegAudioStream> > a = fcs->audio_streams (); vector<shared_ptr<FFmpegAudioStream> >::iterator i = a.begin (); string const s = string_client_data (_stream->GetClientObject (_stream->GetSelection ())); - while (i != a.end() && lexical_cast<string> ((*i)->id) != s) { + while (i != a.end() && lexical_cast<string> ((*i)->id ()) != s) { ++i; } diff --git a/src/wx/subtitle_panel.cc b/src/wx/subtitle_panel.cc index 02c8776d6..24e3688f8 100644 --- a/src/wx/subtitle_panel.cc +++ b/src/wx/subtitle_panel.cc @@ -120,11 +120,11 @@ SubtitlePanel::film_content_changed (int property) if (fcs) { vector<shared_ptr<FFmpegSubtitleStream> > s = fcs->subtitle_streams (); for (vector<shared_ptr<FFmpegSubtitleStream> >::iterator i = s.begin(); i != s.end(); ++i) { - _stream->Append (std_to_wx ((*i)->name), new wxStringClientData (std_to_wx (lexical_cast<string> ((*i)->id)))); + _stream->Append (std_to_wx ((*i)->name), new wxStringClientData (std_to_wx (lexical_cast<string> ((*i)->id ())))); } if (fcs->subtitle_stream()) { - checked_set (_stream, lexical_cast<string> (fcs->subtitle_stream()->id)); + checked_set (_stream, lexical_cast<string> (fcs->subtitle_stream()->id ())); } else { _stream->SetSelection (wxNOT_FOUND); } @@ -179,7 +179,7 @@ SubtitlePanel::stream_changed () vector<shared_ptr<FFmpegSubtitleStream> > a = fcs->subtitle_streams (); vector<shared_ptr<FFmpegSubtitleStream> >::iterator i = a.begin (); string const s = string_client_data (_stream->GetClientObject (_stream->GetSelection ())); - while (i != a.end() && lexical_cast<string> ((*i)->id) != s) { + while (i != a.end() && lexical_cast<string> ((*i)->id ()) != s) { ++i; } |
