[asterisk-commits] oej: trunk r63168 - in /trunk: ./ main/file.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sun May 6 06:11:16 MST 2007


Author: oej
Date: Sun May  6 08:11:15 2007
New Revision: 63168

URL: http://svn.digium.com/view/asterisk?view=rev&rev=63168
Log:
Merged revisions 63152 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r63152 | oej | 2007-05-06 14:28:38 +0200 (Sun, 06 May 2007) | 2 lines

Stop the video stream when you stop playback of all streams for a call

........

Modified:
    trunk/   (props changed)
    trunk/main/file.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/main/file.c
URL: http://svn.digium.com/view/asterisk/trunk/main/file.c?view=diff&rev=63168&r1=63167&r2=63168
==============================================================================
--- trunk/main/file.c (original)
+++ trunk/main/file.c Sun May  6 08:11:15 2007
@@ -136,6 +136,11 @@
 		tmp->stream = NULL;
 		if (tmp->oldwriteformat && ast_set_write_format(tmp, tmp->oldwriteformat))
 			ast_log(LOG_WARNING, "Unable to restore format back to %d\n", tmp->oldwriteformat);
+	}
+	/* Stop the video stream too */
+	if (tmp->vstream != NULL) {
+		ast_closestream(tmp->vstream);
+		tmp->vstream = NULL;
 	}
 	return 0;
 }



More information about the asterisk-commits mailing list