I have a DirectShow application written in Delphi 6 using the DSPACK component library. When I shut down my filter graphs (stop play), I get an access violation due to a callback from the Sample Grabber DirectShow filter occurring after the object that owns the callback method has been destroyed. It doesn't happen every time, but fairly often. Can someone point me to a code sample or document that tells me the steps I need to take to shut down my graphs in a way that that makes sure all pending Sample Grabber callbacks have been received or eliminated?
How to to make sure the Sample Grabber filter won't generate any more callbacks when shutting down my DirectShow filter graph?
779 views Asked by Robert Oschler At
1
There are 1 answers
Related Questions in FILTER
- Producing filtered random samples which can be replicated using the same seed
- Using uBlock to hide a parent element that includes a child element that contains a specific string
- How change product price in cart on woocommerce?
- How to use extracted path params in filters in warp / rust?
- Cpanel filter encoding utf-8?
- Google sheets formula based upon a unique identifier and a date match (in between two dates)
- Copy the result of a filter from 2nd line
- Filtering posts within a page that displays a single category php
- How do I add tags to HTML web pages and sort them with a filter?
- Loader / Spinner infinite | Filter Everything Pro
- Nextflow filter entire tuple based on one value
- Filter a CSV file that has text above column names that must be maintained after the filter process
- Filtering dataset with multiple conditions for monotherapy
- Autocomplete search filter not working for dynamically added input fields in angular
- How to type filtered list?
Related Questions in DIRECTSHOW
- Finding and Using Camera found in “Imaging Devices” in VB.NET
- aforge.video.directshow. "GetDevicesOfCat" not working
- Using YUV2 or MPEG format does not work on directshow
- ISampleGrabberCB sampleCB() not getting called when using DirectShow
- Can't Add Filter to a FilterGraph running on another Process
- How does MediaFoundation set the brightness and other properties of UVC cameras
- How to send USB requests from windows application to a USB device
- How to set exposure for Still Image capture when using DirectShow API on Windows?
- Very often PyQt5 QMediaPlayer displays an error message when opening a media file
- How to implement antialiasing in DirectShow?
- H.264 encoder Filter for Directshow that controls bitrate and GOP Settings in Win32 CPP Project
- In VLC-Unity, why is the media player unable to play video feed from USB camera using DirectShow?
- This code to retrieve installed codecs finds different codecs depending on whether "Prefer 32-bit" is checked. Why?
- Unable to see the live Video in DirectShowLib
- Directshow Virtual Webcam video is greyscale on certain conference apps
Related Questions in ACCESS-VIOLATION
- How do I fix an Access Violation Error in C++
- ITypeLib2.GetLibStatistics() always throws AccessViolationException in C#
- C++ SDL2 Text Renderer with the error: access violation reading location
- Why am I getting "Read access violation. _Right_data was 0xFFFFFFFFFFFFFFF7" when calling a function of a parent class?
- Access Violation upon Returning? How do I go about debugging this?
- OWC11 in Delphi 11.2 Alexandria - Access Violation on TPivotTable.Create
- Why does referencing a static inline map result in an access violation?
- Delphi application enters into endless loop of Access Violation exceptions - how to catch the trace with MadExcept which generates reports endlessly?
- Get more detail information on AccessViolationException
- GCC warns of out-of-bounds access only in a static_cast
- Invalid Pointer Read (Access Violation) from undocumented KERNELBASE methods crashing Windows Services
- Delphi: Dll -> DataSet.First causes Access Violation
- AccessViolationException in emgu.cv Rtsp Player
- ACCESS VIOLATION function, and dynamic arrays
- Violation Acess when I try to Acess the Attribut Norden
Related Questions in SAMPLEGRABBER
- Using YUV2 or MPEG format does not work on directshow
- Directshow CLSID_AsyncReader:how to set the Output Pin sample size?
- Using Php how to get Javascript Object Value
- Can't Get DirectShow MPEG-2 Decoder to Output YV12/NV12 Progressive
- ISampleGrabberFilter one frame step at a time
- not load my website on facebook
- Capture a frame from video using directshow filters in C++
- Grabber for splitting in UWP
- How do i use samplegrabber in vc++ ? The samplegrabber is not defined
- Capture Video very slow in C#
- Problems Using SampleGrabber with CaptureGraphBuilder2
- IMediaSample returned by Sample Grabber has unexpected buffer size
- What's the best way to fix Pixel Aspect Ratio (PAR) issues on DirectShow?
- Grabbing Data From asp using curl
- ISampleGrabber::GetCurrentBuffer() returns E_OUTOFMEMORY
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
What about issuing
ISampleGrabber::SetCallback(NULL, ...prior to stopping/releasing the filter graph?More to this, you can set an internal flag indicating termination and check it in the callbacks you have to immeditely return without further processing.