diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-07-08 16:35:32 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-07-08 16:35:32 +0000 |
commit | 610a0b1e825035dfb20b1d50ba0b802730f1f5c3 (patch) | |
tree | 97a321e1c99d311f3a3540c97cd5569539af61f5 /src/dxr3/video_out_dxr3.c | |
parent | e8eebfc09200a9a18b8722698c3aa3ec6004e9c3 (diff) | |
download | xine-lib-610a0b1e825035dfb20b1d50ba0b802730f1f5c3.tar.gz xine-lib-610a0b1e825035dfb20b1d50ba0b802730f1f5c3.tar.bz2 |
when playing mpeg content we can close previously opened encoder contexts,
because we don't need encoding any more
CVS patchset: 2229
CVS date: 2002/07/08 16:35:32
Diffstat (limited to 'src/dxr3/video_out_dxr3.c')
-rw-r--r-- | src/dxr3/video_out_dxr3.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/dxr3/video_out_dxr3.c b/src/dxr3/video_out_dxr3.c index adf756f9f..e02810426 100644 --- a/src/dxr3/video_out_dxr3.c +++ b/src/dxr3/video_out_dxr3.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_out_dxr3.c,v 1.35 2002/07/04 15:29:37 mroi Exp $ + * $Id: video_out_dxr3.c,v 1.36 2002/07/08 16:35:33 mroi Exp $ */ /* mpeg1 encoding video out plugin for the dxr3. @@ -419,6 +419,9 @@ static void dxr3_update_frame_format(vo_driver_t *this_gen, vo_frame_t *frame_ge this->fd_video = CLOSED_FOR_DECODER; } + /* we do not need the mpeg encoders any more */ + if (this->enc) this->enc->on_unneeded(this); + /* for mpeg source, we don't have to do much. */ this->video_width = width; this->video_iheight = height; |