~ubuntu-branches/ubuntu/wily/bombono-dvd/wily

« back to all changes in this revision

Viewing changes to src/mdemux/player.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2010-11-04 11:46:25 UTC
  • mto: This revision was merged to the branch mainline in revision 8.
  • Revision ID: james.westby@ubuntu.com-20101104114625-8xfdhvhpsm51i0nu
Tags: upstream-0.8.0
ImportĀ upstreamĀ versionĀ 0.8.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
// mdemux/player.cpp
3
3
// This file is part of Bombono DVD project.
4
4
//
5
 
// Copyright (c) 2007-2009 Ilya Murav'jov
 
5
// Copyright (c) 2007-2010 Ilya Murav'jov
6
6
//
7
7
// This program is free software; you can redistribute it and/or modify
8
8
// it under the terms of the GNU General Public License as published by
108
108
        FrameList& frm_lst = vl.GetFrames();
109
109
        ASSERT( frm_lst.IsPlayable() && 
110
110
                (frm_lst.Beg() <= curPos) && (curPos < frm_lst.End()) );
 
111
        UNUSED_VAR(frm_lst);
111
112
    }
112
113
}
113
114
 
330
331
    SetPosByPos(new_pos, new_pos->pts);
331
332
}
332
333
 
 
334
} // namespace Mpeg
 
335
 
 
336
void CheckOpen(Mpeg::Player& plyr, const std::string& fname)
 
337
{
 
338
    bool is_open = plyr.Open(fname.c_str());
 
339
    ASSERT_OR_UNUSED( is_open );
333
340
}
334
341
 
 
342