ClearMovieSelection
The ClearMovieSelection function removes the segment of the movie that is defined by the current selection.
pascal void ClearMovieSelection (Movie theMovie);
theMovie
- Specifies the movie for this operation. Your application obtains this movie identifier from such functions as
NewMovie, NewMovieFromFile, and NewMovieFromHandle (described on page 2-80, page 2-76, and page 2-78, respectively).
DESCRIPTION
After removing the segment, the Movie Toolbox sets the duration of the movie's current selection to 0 and the selection time remains unchanged. This function removes empty tracks from the resulting movie.
ERROR CODES
| invalidMovie | -2010 | This movie is corrupted or invalid |