Changeset 4962 for pjproject


Ignore:
Timestamp:
Nov 19, 2014 7:44:39 AM (10 years ago)
Author:
riza
Message:

Re #1782 (misc): Fixed crash when failing to create filter graph on dshow.
Thanks to Alexander Fatyanov for the report.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia-videodev/dshow_dev.c

    r4951 r4962  
    10691069        pj_thread_sleep(10); 
    10701070 
    1071     IMediaFilter_Stop(stream->dgraph.media_filter); 
     1071    if (stream->dgraph.media_filter) 
     1072        IMediaFilter_Stop(stream->dgraph.media_filter); 
    10721073 
    10731074    PJ_LOG(4, (THIS_FILE, "Stopping dshow video stream")); 
Note: See TracChangeset for help on using the changeset viewer.