cplussharp / graph-studio-next

GraphStudioNext is a tool for developers to build and test DirectShow Graphs
355 stars 94 forks source link

Render pin or connect should operate on first unconnected pin if no pin is selected #249

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'd like to have this feature in the program:

If a filter is selected but no pin is selected, render pin and connect pin 
should select and operate on the first available unconnected pin (output, then 
input if appropriate). There may be other pin specific commands that should do 
the same.

The feature is important for me because:

Faster graph building

The feature is important for other users because:

More intuitive pin manipulation.

Original issue reported on code.google.com by mike.cop...@gmail.com on 3 Oct 2014 at 9:37

GoogleCodeExporter commented 9 years ago
Also should be able to connect to filters or two pins to each other by 
selecting both and selecting connect pin - perhaps the command should be 
renamed to Connect... This might need to try connecting both ways (with first 
as output, second as input and vice versa).

Other pin specific commands should work with multiple filter selections where 
appropriate (e.g. rendering multiple filters).

Original comment by mike.cop...@gmail.com on 27 Oct 2014 at 9:50

GoogleCodeExporter commented 9 years ago
Selecting connect on a connected pin should reconnect that pin. If using direct 
connect (rather than intelligent or select media type) the pin should be 
reconnected with the same media type.

Selecting connect on a filter with connected pins shouldn't do this because 
it's ambiguous which pin will be reconnected and it's valid for two filters to 
be connected by multiple pins.

Original comment by mike.cop...@gmail.com on 29 Oct 2014 at 4:02

GoogleCodeExporter commented 9 years ago
Updated by r414 : Render and connect pin will work on first available 
unconnected pins of selected filter
Duplicate Selected Filters works on the parent filters of any selected pins.
Render pin operates selected output pins or on first unconnected output pin of 
selected filters.
Connect pin operates on single selected pin or first unconnected output or 
input pin of single selected filter

Original comment by mike.cop...@gmail.com on 2 Nov 2014 at 12:06

GoogleCodeExporter commented 9 years ago
Updated by r418 : Connect will reconnect selected output pin or first output 
pin of selected filter if no unconnected output pins available.
Reconnects with same media type if in direct connect mode, prompts for media 
type if in choose media type mode, otherwise uses intelligent connect to 
reconnect.

Original comment by mike.cop...@gmail.com on 4 Nov 2014 at 2:06

GoogleCodeExporter commented 9 years ago
Updated by r419 : updated UI messages.

Original comment by mike.cop...@gmail.com on 4 Nov 2014 at 2:52

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Also need to update filter and pin context menus to support new functionality.

Original comment by mike.cop...@gmail.com on 5 Nov 2014 at 2:17

GoogleCodeExporter commented 9 years ago
Updated by r420 : Connect can also work on two selected filters. Will only 
connect if available pins rather than disconnect and reconnect.

Original comment by mike.cop...@gmail.com on 5 Nov 2014 at 2:18

GoogleCodeExporter commented 9 years ago
Fixed by r421 : Fixed context menus for render pin, connect pin and reconnect 
pin

Original comment by mike.cop...@gmail.com on 5 Nov 2014 at 12:39

GoogleCodeExporter commented 9 years ago
Updated by r422 : Menu updater for (re)connect pin and render pin

Original comment by mike.cop...@gmail.com on 5 Nov 2014 at 1:34