d4982b115d 
								
							
								 
							
						 
						
							
							
								
								lavd/dshow: fix style and typo recently introduced.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								12c71f648c 
								
							
								 
							
						 
						
							
							
								
								dshow: Fix MSVC support, remove av_export, which was apparently unneeded anyway.  
							
							Also cleanup exported symbols
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c916389bd2 
								
							
								 
							
						 
						
							
							
								
								dshow: allow for more codec ID's  
							
							Signed-off-by: rogerdpack <rogerpack2005@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3b9166fc7e 
								
							
								 
							
						 
						
							
							
								
								dshow: better error reporting  
							
							Signed-off-by: rogerdpack <rogerpack2005@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6d33026668 
								
							
								 
							
						 
						
							
							
								
								dshow: fix log message  
							
							Signed-off-by: rogerdpack <rogerpack2005@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								47e88486b4 
								
							
								 
							
						 
						
							
							
								
								hdyc col  
							
							Signed-off-by: rogerdpack <rogerpack2005@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a50049a197 
								
							
								 
							
						 
						
							
							
								
								dshow: use standardized raw pixel format lookup  
							
							Signed-off-by: rogerdpack <rogerpack2005@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								83a9f29f60 
								
							
								 
							
						 
						
							
							
								
								dshow: call CoUninitialize() on dshow_read_close()  
							
							Every call to CoInitialize should have a matching CoUnititalize.
Based on patch by Don Moir <donmoir@comcast.net>. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								190f6135b4 
								
							
								 
							
						 
						
							
							
								
								dshow: handle events in graph  
							
							Handling DirectShow events prevents infinite loops when there is an error in
the graph, such as a device being disconnected. This makes it possible for
dshow to return an error to the caller and run the cleanup code.
Based on patch by Don Moir <donmoir@comcast.net>. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fe3e0e486e 
								
							
								 
							
						 
						
							
							
								
								lavd/dshow: rename dshow class name  
							
							Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
Signed-off-by: Stefano Sabatini <stefasab@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f2c49da9ac 
								
							
								 
							
						 
						
							
							
								
								dshow: fix return code when opening device  
							
							Successfully opening a device altered the ret variable, making the function
not cleanup properly and return an incorrect value for errors that happened
afterwards.
Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c9ff32215b 
								
							
								 
							
						 
						
							
							
								
								lavu/opt: allow to set sample and pixel format with av_opt_set_int()  
							
							This change requires the user to specify min and max value, and makes
possible to prevent the user to set AV_{SAMPLE,PIX}_FMT_NONE if
forbidden.
Add required ifdeffery in case of mixed libraries, when libavutil is
updated but not the other libraries.
This is a followup of 08d0969c14 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								08d0969c14 
								
							
								 
							
						 
						
							
							
								
								lavu/opt: change the way default pixel and sample format value is set  
							
							Use the i64 field rather than the string value. Using a string to set a
default sample/pixel format is weird, also the new interface is more
consistent with the rest of the API.
This is technically an API break, but hopefully there are no applications
using this feature outside of FFmpeg. In order to save backward
compatibility with mixed libraries in case libavutil is updated but not
the other libraries, some ifdeffery hacks are added.
Note that the version check is only performed when class->version != 0,
since if it is not defined then we assume that no version was defined and
the class is not affected by the change.
We will luckily get rid of the hack at the next major bump. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1bdb4b26a8 
								
							
								 
							
						 
						
							
							
								
								dshow: enhance error message  
							
							Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Reviewed-by: Ramiro Polla <ramiro.polla@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dc5fcdb896 
								
							
								 
							
						 
						
							
							
								
								lavd/dshow: use AV_OPT_TYPE_IMAGE_SIZE  
							
							Signed-off-by: Stefano Sabatini <stefasab@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								37a0db50db 
								
							
								 
							
						 
						
							
							
								
								lavd/dshow: support video codec and pixel format selection  
							
							Signed-off-by: Stefano Sabatini <stefasab@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ad7fae4ee1 
								
							
								 
							
						 
						
							
							
								
								dshow: allow user to specify audio buffer size  
							
							Based on patch by rogerdpack <rogerpack2005@gmail.com>
Tested-by: Roger Pack <rogerdpack2@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								415f4cca1d 
								
							
								 
							
						 
						
							
							
								
								dshow:protect access to curbufsize to promote consistency  
							
							Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a966d94891 
								
							
								 
							
						 
						
							
							
								
								dshow: avoid integer overflow when using curbufsize  
							
							Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a93c221ccd 
								
							
								 
							
						 
						
							
							
								
								dshow: protect access to curbufsize  
							
							Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								42dbf06df0 
								
							
								 
							
						 
						
							
							
								
								dshow: cleanup reference  
							
							Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bb2f13c19f 
								
							
								 
							
						 
						
							
							
								
								rename missed CodecID to AVCodecID  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								02cc66dd78 
								
							
								 
							
						 
						
							
							
								
								dshow: rename dshow.h to avoid conflict with system header of equal name  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1f0fa80bfa 
								
							
								 
							
						 
						
							
							
								
								dshow: use DirectShow information to set time_base  
							
							Fixes build after removal of AVFormatParameters.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c9e5acad61 
								
							
								 
							
						 
						
							
							
								
								dshow: fix AVInputFormat declaration after ABI breakage  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								215b7724e7 
								
							
								 
							
						 
						
							
							
								
								lavf: rename remaining av_set_pts_info() to avpriv_set_pts_info().  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d3bc75c666 
								
							
								 
							
						 
						
							
							
								
								dshow: support BI_BITFIELDS compression type  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								526a7d855d 
								
							
								 
							
						 
						
							
							
								
								dshow: don't print min/max values for fps the wrong way around  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e3e962835f 
								
							
								 
							
						 
						
							
							
								
								dshow: save opened device reference so it may be properly closed  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								21a928d07c 
								
							
								 
							
						 
						
							
							
								
								dshow: release filter reference obtained from enumeration  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5b186148bf 
								
							
								 
							
						 
						
							
							
								
								dshow: indent  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2f9b955918 
								
							
								 
							
						 
						
							
							
								
								dshow: support choosing between devices with same name  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0e5ecd806e 
								
							
								 
							
						 
						
							
							
								
								Replace remaining av_new_stream() with avformat_new_stream().  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								539399d4d1 
								
							
								 
							
						 
						
							
							
								
								AVOptions: rename remaining FF_OPT_TYPE_* to AV_OPT_TYPE_*.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6613db9736 
								
							
								 
							
						 
						
							
							
								
								dshow: remove filters from graph before releasing them  
							
							Signed-off-by: Stefano Sabatini <stefasab@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a1644f6287 
								
							
								 
							
						 
						
							
							
								
								dshow: reset list for each filter removed  
							
							Signed-off-by: Stefano Sabatini <stefasab@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								215e197942 
								
							
								 
							
						 
						
							
							
								
								dshow: invert condition to avoid leaking objects  
							
							Signed-off-by: Stefano Sabatini <stefasab@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								01b997b958 
								
							
								 
							
						 
						
							
							
								
								dshow: indent  
							
							Signed-off-by: Stefano Sabatini <stefasab@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0883a7fa3b 
								
							
								 
							
						 
						
							
							
								
								dshow: add option to list audio/video options  
							
							Signed-off-by: Stefano Sabatini <stefasab@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c4b2027d10 
								
							
								 
							
						 
						
							
							
								
								dshow: add audio/video options  
							
							Signed-off-by: Stefano Sabatini <stefasab@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d0da310317 
								
							
								 
							
						 
						
							
							
								
								dshow: initialize variable to prevent releasing random data  
							
							Signed-off-by: Stefano Sabatini <stefasab@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ee4ed80485 
								
							
								 
							
						 
						
							
							
								
								dshow: factorise cycling through pins  
							
							Signed-off-by: Stefano Sabatini <stefasab@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f0c64d0d0b 
								
							
								 
							
						 
						
							
							
								
								dshow: indent  
							
							Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1c282f96ab 
								
							
								 
							
						 
						
							
							
								
								dshow: add option to list devices  
							
							Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fad4e1a572 
								
							
								 
							
						 
						
							
							
								
								dshow: factorise cycling through devices  
							
							Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ff5e1b0b7a 
								
							
								 
							
						 
						
							
							
								
								dshow: properly disconnect and remove filters from graph  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5e77dc2ea7 
								
							
								 
							
						 
						
							
							
								
								dshow: remove some unused code  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6b899e16de 
								
							
								 
							
						 
						
							
							
								
								lavdev: prefer the inclusion of avdevice.h over that of libavformat/avformat.h  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a13fec8a9c 
								
							
								 
							
						 
						
							
							
								
								DirectShow capture: Fix build  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								95eb2e3a38 
								
							
								 
							
						 
						
							
							
								
								DirectShow capture support  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago