summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2004-10-17 19:14:30 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2004-10-17 19:14:30 +0000
commit476d875bd66137ba47af5a3c5eb2fa608ca2757c (patch)
tree4e6f4c48454666df515ab1f21d2237ea3d85889c
parent24e10a7f86d771de17b7b6bc8477a43a766f037a (diff)
downloadxine-lib-476d875bd66137ba47af5a3c5eb2fa608ca2757c.tar.gz
xine-lib-476d875bd66137ba47af5a3c5eb2fa608ca2757c.tar.bz2
copy_up should not copy the stream, this info travels from decoders to output,
not the other way; fixes underflows in the stream's refcounter, which made xine-ui crash on post plugins CVS patchset: 7043 CVS date: 2004/10/17 19:14:30
-rw-r--r--src/xine-engine/post.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/xine-engine/post.c b/src/xine-engine/post.c
index 5f8eca309..40d65d215 100644
--- a/src/xine-engine/post.c
+++ b/src/xine-engine/post.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: post.c,v 1.27 2004/09/28 18:49:40 miguelfreitas Exp $
+ * $Id: post.c,v 1.28 2004/10/17 19:14:30 mroi Exp $
*/
/*
@@ -429,7 +429,6 @@ void _x_post_frame_copy_up(vo_frame_t *to, vo_frame_t *from) {
/* propagate changes upwards (from video out to decoders) */
to->vpts = from->vpts;
to->duration = from->duration;
- to->stream = from->stream;
if (to->extra_info != from->extra_info)
_x_extra_info_merge(to->extra_info, from->extra_info);