Changeset 959:e3d6dc21f753 in mediastreamer2 for src/videostream.c
- Timestamp:
- May 10, 2010 3:30:31 PM (3 years ago)
- Branch:
- default
- Children:
- 960:c7db549fdf08, 961:3ff451d1b61b
- File:
-
- 1 edited
-
src/videostream.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/videostream.c
r935 r959 263 263 ms_message("Setting vsize=%ix%i, fps=%f",vsize.width,vsize.height,fps); 264 264 /* configure the filters */ 265 ms_filter_call_method(stream->source,MS_FILTER_SET_FPS,&fps); 265 if (ms_filter_get_id(stream->source)!=MS_STATIC_IMAGE_ID) 266 ms_filter_call_method(stream->source,MS_FILTER_SET_FPS,&fps); 266 267 ms_filter_call_method(stream->source,MS_FILTER_SET_VIDEO_SIZE,&vsize); 267 268 … … 375 376 /* configure the filters */ 376 377 ms_filter_call_method(stream->source,MS_FILTER_SET_VIDEO_SIZE,&vsize); 377 ms_filter_call_method(stream->source,MS_FILTER_SET_FPS,&fps); 378 if (ms_filter_get_id(stream->source)!=MS_STATIC_IMAGE_ID) 379 ms_filter_call_method(stream->source,MS_FILTER_SET_FPS,&fps); 378 380 ms_filter_call_method(stream->source,MS_FILTER_GET_PIX_FMT,&format); 379 381 ms_filter_call_method(stream->source,MS_FILTER_GET_VIDEO_SIZE,&vsize);
Note: See TracChangeset
for help on using the changeset viewer.
