Ignore:
Timestamp:
Apr 8, 2011 4:14:00 AM (14 years ago)
Author:
ming
Message:

Re #1213:
(Minor): Add check to dshow so that it doesn't need to change the output param when not trying to use default size and/or fps.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/2.0-dev/pjmedia/src/pjmedia-videodev/dshow_dev.c

    r3507 r3511  
    699699    hr = IFilterGraph_ConnectDirect(graph->filter_graph, srcpin, sinkpin, 
    700700                                    mediatype); 
    701     if (SUCCEEDED(hr)) { 
     701    if (SUCCEEDED(hr) && (use_def_size || use_def_fps)) { 
    702702        pjmedia_format_init_video(&strm->param.fmt, strm->param.fmt.id, 
    703703                                  video_info->bmiHeader.biWidth, 
Note: See TracChangeset for help on using the changeset viewer.